OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 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_manager.h" |
| 13 |
| 14 namespace net { |
| 15 |
| 16 // If |is_error| is false, "net_error" field won't be added to the JSON and the |
| 17 // event won't be painted red in the netlog. |
| 18 base::Value* NetLogSdchResourceProblemCallback( |
| 19 SdchManager::ProblemCodes problem, |
| 20 bool is_error, |
| 21 NetLog::LogLevel log_level); |
| 22 |
| 23 // If |is_error| is false, "net_error" field won't be added to the JSON and the |
| 24 // event won't be painted red in the netlog. |
| 25 base::Value* NetLogSdchDictionaryFetchProblemCallback( |
| 26 SdchManager::ProblemCodes problem, |
| 27 const GURL* url, |
| 28 bool is_error, |
| 29 NetLog::LogLevel log_level); |
| 30 |
| 31 } // namespace net |
| 32 |
| 33 #endif // NET_BASE_SDCH_NET_LOG_PARAMS_H_ |
OLD | NEW |