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* FileRenamedCallback(const FilePath* old_filename, | 74 base::Value* FileRenamedCallback(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* FileErrorCallback(const char* operation, | 79 base::Value* FileErrorCallback(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 base::Value* FileInterruptedCallback(const char* operation, |
| 84 int os_error, |
| 85 content::DownloadInterruptReason reason, |
| 86 net::NetLog::LogLevel log_level); |
| 87 |
83 } // namespace download_net_logs | 88 } // namespace download_net_logs |
84 | 89 |
85 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_NET_LOG_PARAMETERS_H_ | 90 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_NET_LOG_PARAMETERS_H_ |
OLD | NEW |