[email protected] | a981330 | 2012-04-28 09:29:28 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
[email protected] | 261283423 | 2010-05-14 21:52:36 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #ifndef NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_ | ||||
6 | #define NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_ | ||||
7 | |||||
Avi Drissman | 13fc893 | 2015-12-20 04:40:46 | [diff] [blame] | 8 | #include <stdint.h> |
9 | |||||
[email protected] | 261283423 | 2010-05-14 21:52:36 | [diff] [blame] | 10 | #include <string> |
11 | |||||
[email protected] | 172da1b | 2011-08-12 15:52:26 | [diff] [blame] | 12 | #include "net/base/net_export.h" |
[email protected] | 0c95205 | 2010-07-13 18:01:50 | [diff] [blame] | 13 | #include "net/base/request_priority.h" |
eroman | 87c53d6 | 2015-04-02 06:51:07 | [diff] [blame] | 14 | #include "net/log/net_log.h" |
[email protected] | 261283423 | 2010-05-14 21:52:36 | [diff] [blame] | 15 | |
[email protected] | 3abacd6 | 2012-06-10 20:20:32 | [diff] [blame] | 16 | class GURL; |
17 | |||||
18 | namespace base { | ||||
19 | class Value; | ||||
20 | } | ||||
21 | |||||
[email protected] | 4cc647d | 2010-12-17 22:46:41 | [diff] [blame] | 22 | namespace net { |
23 | |||||
[email protected] | 3abacd6 | 2012-06-10 20:20:32 | [diff] [blame] | 24 | // Returns a Value containing NetLog parameters for starting a URLRequest. |
danakj | 8522a25b | 2016-04-16 00:17:36 | [diff] [blame^] | 25 | NET_EXPORT std::unique_ptr<base::Value> NetLogURLRequestStartCallback( |
[email protected] | 3abacd6 | 2012-06-10 20:20:32 | [diff] [blame] | 26 | const GURL* url, |
27 | const std::string* method, | ||||
28 | int load_flags, | ||||
29 | RequestPriority priority, | ||||
Avi Drissman | 13fc893 | 2015-12-20 04:40:46 | [diff] [blame] | 30 | int64_t upload_id, |
eroman | 001c374 | 2015-04-23 03:11:17 | [diff] [blame] | 31 | NetLogCaptureMode /* capture_mode */); |
[email protected] | 261283423 | 2010-05-14 21:52:36 | [diff] [blame] | 32 | |
[email protected] | 4cc647d | 2010-12-17 22:46:41 | [diff] [blame] | 33 | } // namespace net |
34 | |||||
[email protected] | 261283423 | 2010-05-14 21:52:36 | [diff] [blame] | 35 | #endif // NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_ |