| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "content/public/browser/download_item.h" | 10 #include "content/public/browser/download_item.h" |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 // Returns NetLog parameters when a DownloadFile is renamed. | 73 // Returns NetLog parameters when a DownloadFile is renamed. |
| 74 base::Value* FileRenamedNetLogCallback(const FilePath* old_filename, | 74 base::Value* FileRenamedNetLogCallback(const FilePath* old_filename, |
| 75 const FilePath* new_filename, | 75 const FilePath* new_filename, |
| 76 net::NetLog::LogLevel log_level); | 76 net::NetLog::LogLevel log_level); |
| 77 | 77 |
| 78 // Returns NetLog parameters when a File has an error. | 78 // Returns NetLog parameters when a File has an error. |
| 79 base::Value* FileErrorNetLogCallback(const char* operation, | 79 base::Value* FileErrorNetLogCallback(const char* operation, |
| 80 net::Error net_error, | 80 net::Error net_error, |
| 81 net::NetLog::LogLevel log_level); | 81 net::NetLog::LogLevel log_level); |
| 82 | 82 |
| 83 // Returns NetLog parameters for a download interruption. |
| 83 base::Value* FileInterruptedNetLogCallback(const char* operation, | 84 base::Value* FileInterruptedNetLogCallback(const char* operation, |
| 84 int os_error, | 85 int os_error, |
| 85 DownloadInterruptReason reason, | 86 DownloadInterruptReason reason, |
| 86 net::NetLog::LogLevel log_level); | 87 net::NetLog::LogLevel log_level); |
| 87 | 88 |
| 88 } // namespace content | 89 } // namespace content |
| 89 | 90 |
| 90 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_NET_LOG_PARAMETERS_H_ | 91 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_NET_LOG_PARAMETERS_H_ |
| OLD | NEW |