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..3450cfe23177a1f0d64cf4df7cea01aa41162b2d |
--- /dev/null |
+++ b/net/base/sdch_net_log_params.h |
@@ -0,0 +1,31 @@ |
+// Copyright (c) 2014 The Chromium Authors. All rights reserved. |
mmenke
2014/10/03 18:59:27
nit: Don't use (c) in new files (Goes for all the
baranovich
2014/10/27 20:49:25
Done.
|
+// 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_problem_codes.h" |
+ |
+class GURL; |
+ |
+namespace net { |
+ |
+base::Value* NetLogSdchResourceProblemCallback(SdchProblemCodes problem, |
+ 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( |
+ SdchProblemCodes problem, |
+ const GURL* url, |
mmenke
2014/10/03 18:59:27
nit: "const GURL& url". Use const references ins
baranovich
2014/10/27 20:49:24
Done.
|
+ bool is_error, |
+ NetLog::LogLevel log_level); |
+ |
+} // namespace net |
+ |
+#endif // NET_BASE_SDCH_NET_LOG_PARAMS_H_ |