OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef NET_BASE_SDCH_NET_LOG_PARAMS_H_ |
| 6 #define NET_BASE_SDCH_NET_LOG_PARAMS_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "net/base/net_export.h" |
| 11 #include "net/base/net_log.h" |
| 12 #include "net/base/sdch_problem_codes.h" |
| 13 |
| 14 class GURL; |
| 15 |
| 16 namespace net { |
| 17 |
| 18 base::Value* NetLogSdchResourceProblemCallback(SdchProblemCode problem, |
| 19 NetLog::LogLevel log_level); |
| 20 |
| 21 // If |is_error| is false, "net_error" field won't be added to the JSON and the |
| 22 // event won't be painted red in the netlog. |
| 23 base::Value* NetLogSdchDictionaryFetchProblemCallback( |
| 24 SdchProblemCode problem, |
| 25 const GURL& url, |
| 26 bool is_error, |
| 27 NetLog::LogLevel log_level); |
| 28 |
| 29 } // namespace net |
| 30 |
| 31 #endif // NET_BASE_SDCH_NET_LOG_PARAMS_H_ |
OLD | NEW |