Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2178)

Unified Diff: net/base/sdch_net_log_params.h

Issue 423813002: Sdch view for net-internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review fixes. Lots. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698