| OLD | NEW |
| 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> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "net/base/net_export.h" | 12 #include "net/base/net_export.h" |
| 11 #include "net/base/request_priority.h" | 13 #include "net/base/request_priority.h" |
| 12 #include "net/log/net_log.h" | 14 #include "net/log/net_log.h" |
| 13 | 15 |
| 14 class GURL; | 16 class GURL; |
| 15 | 17 |
| 16 namespace base { | 18 namespace base { |
| 17 class Value; | 19 class Value; |
| 18 } | 20 } |
| 19 | 21 |
| 20 namespace net { | 22 namespace net { |
| 21 | 23 |
| 22 // Returns a Value containing NetLog parameters for starting a URLRequest. | 24 // Returns a Value containing NetLog parameters for starting a URLRequest. |
| 23 NET_EXPORT scoped_ptr<base::Value> NetLogURLRequestStartCallback( | 25 NET_EXPORT scoped_ptr<base::Value> NetLogURLRequestStartCallback( |
| 24 const GURL* url, | 26 const GURL* url, |
| 25 const std::string* method, | 27 const std::string* method, |
| 26 int load_flags, | 28 int load_flags, |
| 27 RequestPriority priority, | 29 RequestPriority priority, |
| 28 int64 upload_id, | 30 int64_t upload_id, |
| 29 NetLogCaptureMode /* capture_mode */); | 31 NetLogCaptureMode /* capture_mode */); |
| 30 | 32 |
| 31 } // namespace net | 33 } // namespace net |
| 32 | 34 |
| 33 #endif // NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_ | 35 #endif // NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_ |
| OLD | NEW |