| 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 CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_NET_LOG_PARAMETERS_H_ | 5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_NET_LOG_PARAMETERS_H_ |
| 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_NET_LOG_PARAMETERS_H_ | 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_NET_LOG_PARAMETERS_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "content/public/browser/download_item.h" | 13 #include "content/public/browser/download_item.h" |
| 14 #include "net/base/net_errors.h" | 14 #include "net/base/net_errors.h" |
| 15 | 15 |
| 16 class GURL; | |
| 17 | |
| 18 namespace base { | 16 namespace base { |
| 19 class FilePath; | 17 class FilePath; |
| 20 class Value; | 18 class Value; |
| 21 } | 19 } |
| 22 | 20 |
| 23 namespace net { | 21 namespace net { |
| 24 class NetLogCaptureMode; | 22 class NetLogCaptureMode; |
| 25 } | 23 } |
| 26 | 24 |
| 27 namespace content { | 25 namespace content { |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 // Returns NetLog parameters for a download interruption. | 104 // Returns NetLog parameters for a download interruption. |
| 107 std::unique_ptr<base::Value> FileInterruptedNetLogCallback( | 105 std::unique_ptr<base::Value> FileInterruptedNetLogCallback( |
| 108 const char* operation, | 106 const char* operation, |
| 109 int os_error, | 107 int os_error, |
| 110 DownloadInterruptReason reason, | 108 DownloadInterruptReason reason, |
| 111 net::NetLogCaptureMode capture_mode); | 109 net::NetLogCaptureMode capture_mode); |
| 112 | 110 |
| 113 } // namespace content | 111 } // namespace content |
| 114 | 112 |
| 115 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_NET_LOG_PARAMETERS_H_ | 113 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_NET_LOG_PARAMETERS_H_ |
| OLD | NEW |