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 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "content/public/browser/download_item.h" | 10 #include "content/public/browser/download_item.h" |
12 #include "net/base/net_errors.h" | 11 #include "net/base/net_errors.h" |
13 #include "net/base/net_log.h" | 12 #include "net/base/net_log.h" |
14 | 13 |
15 class FilePath; | 14 class FilePath; |
16 class GURL; | 15 class GURL; |
17 | 16 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 net::NetLog::LogLevel log_level); | 72 net::NetLog::LogLevel log_level); |
74 | 73 |
75 // Returns NetLog parameters when a File has an error. | 74 // Returns NetLog parameters when a File has an error. |
76 base::Value* FileErrorCallback(const char* operation, | 75 base::Value* FileErrorCallback(const char* operation, |
77 net::Error net_error, | 76 net::Error net_error, |
78 net::NetLog::LogLevel log_level); | 77 net::NetLog::LogLevel log_level); |
79 | 78 |
80 } // namespace download_net_logs | 79 } // namespace download_net_logs |
81 | 80 |
82 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_NET_LOG_PARAMETERS_H_ | 81 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_NET_LOG_PARAMETERS_H_ |
OLD | NEW |