Index: net/base/sdch_net_log_params.h |
diff --git a/net/base/sdch_net_log_params.h b/net/base/sdch_net_log_params.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c566756dcb111f0d635b8949d44f2d3f076f75d1 |
--- /dev/null |
+++ b/net/base/sdch_net_log_params.h |
@@ -0,0 +1,33 @@ |
+// Copyright (c) 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef NET_BASE_SDCH_NET_LOG_PARAMS_H_ |
+#define NET_BASE_SDCH_NET_LOG_PARAMS_H_ |
+ |
+#include <string> |
+ |
+#include "net/base/net_export.h" |
+#include "net/base/net_log.h" |
+#include "net/base/sdch_manager.h" |
+ |
+namespace net { |
+ |
+// If |is_error| is false, "net_error" field won't be added to the JSON and the |
+// event won't be painted red in the netlog. |
+base::Value* NetLogSdchResourceProblemCallback( |
+ SdchManager::ProblemCodes problem, |
+ bool is_error, |
+ NetLog::LogLevel log_level); |
+ |
+// If |is_error| is false, "net_error" field won't be added to the JSON and the |
+// event won't be painted red in the netlog. |
+base::Value* NetLogSdchDictionaryFetchProblemCallback( |
+ SdchManager::ProblemCodes problem, |
+ const GURL* url, |
+ bool is_error, |
+ NetLog::LogLevel log_level); |
+ |
+} // namespace net |
+ |
+#endif // NET_BASE_SDCH_NET_LOG_PARAMS_H_ |