OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BASE_SDCH_NET_LOG_PARAMS_H_ | 5 #ifndef NET_BASE_SDCH_NET_LOG_PARAMS_H_ |
6 #define NET_BASE_SDCH_NET_LOG_PARAMS_H_ | 6 #define NET_BASE_SDCH_NET_LOG_PARAMS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "net/base/net_export.h" | 10 #include "net/base/net_export.h" |
11 #include "net/base/sdch_problem_codes.h" | 11 #include "net/base/sdch_problem_codes.h" |
12 #include "net/log/net_log.h" | 12 #include "net/log/net_log.h" |
13 | 13 |
14 class GURL; | 14 class GURL; |
15 | 15 |
16 namespace net { | 16 namespace net { |
17 | 17 |
18 NET_EXPORT base::Value* NetLogSdchResourceProblemCallback( | 18 NET_EXPORT scoped_ptr<base::Value> NetLogSdchResourceProblemCallback( |
19 SdchProblemCode problem, | 19 SdchProblemCode problem, |
20 NetLogCaptureMode capture_mode); | 20 NetLogCaptureMode capture_mode); |
21 | 21 |
22 // If |is_error| is false, "net_error" field won't be added to the JSON and the | 22 // If |is_error| is false, "net_error" field won't be added to the JSON and the |
23 // event won't be painted red in the netlog. | 23 // event won't be painted red in the netlog. |
24 NET_EXPORT base::Value* NetLogSdchDictionaryFetchProblemCallback( | 24 NET_EXPORT scoped_ptr<base::Value> NetLogSdchDictionaryFetchProblemCallback( |
25 SdchProblemCode problem, | 25 SdchProblemCode problem, |
26 const GURL& url, | 26 const GURL& url, |
27 bool is_error, | 27 bool is_error, |
28 NetLogCaptureMode capture_mode); | 28 NetLogCaptureMode capture_mode); |
29 | 29 |
30 } // namespace net | 30 } // namespace net |
31 | 31 |
32 #endif // NET_BASE_SDCH_NET_LOG_PARAMS_H_ | 32 #endif // NET_BASE_SDCH_NET_LOG_PARAMS_H_ |
OLD | NEW |