Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Side by Side Diff: net/url_request/url_request_netlog_params.h

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_
6 #define NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory>
10 #include <string> 11 #include <string>
11 12
12 #include "net/base/net_export.h" 13 #include "net/base/net_export.h"
13 #include "net/base/request_priority.h" 14 #include "net/base/request_priority.h"
14 #include "net/log/net_log.h"
15 15
16 class GURL; 16 class GURL;
17 17
18 namespace base { 18 namespace base {
19 class Value; 19 class Value;
20 } 20 }
21 21
22 namespace net { 22 namespace net {
23 23
24 class NetLogCaptureMode;
25
24 // Returns a Value containing NetLog parameters for starting a URLRequest. 26 // Returns a Value containing NetLog parameters for starting a URLRequest.
25 NET_EXPORT std::unique_ptr<base::Value> NetLogURLRequestStartCallback( 27 NET_EXPORT std::unique_ptr<base::Value> NetLogURLRequestStartCallback(
26 const GURL* url, 28 const GURL* url,
27 const std::string* method, 29 const std::string* method,
28 int load_flags, 30 int load_flags,
29 RequestPriority priority, 31 RequestPriority priority,
30 int64_t upload_id, 32 int64_t upload_id,
31 NetLogCaptureMode /* capture_mode */); 33 NetLogCaptureMode /* capture_mode */);
32 34
33 } // namespace net 35 } // namespace net
34 36
35 #endif // NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_ 37 #endif // NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698