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

Unified Diff: net/http/http_log_util.h

Issue 2771033005: Split out spdy_log_util from http_log_util. (Closed)
Patch Set: Remove http_log_util.h include from two files that do not use ElideHeaderValueForNetLog(). Created 3 years, 9 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
« no previous file with comments | « net/http/bidirectional_stream.cc ('k') | net/http/http_log_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_log_util.h
diff --git a/net/http/http_log_util.h b/net/http/http_log_util.h
index ead8e7b1bb18ae80e50a5e872610fa3620fd0811..15a58f7f0b6de79da216c8c1cf95b40a4ddae457 100644
--- a/net/http/http_log_util.h
+++ b/net/http/http_log_util.h
@@ -7,18 +7,11 @@
#include <string>
-#include "base/strings/string_piece.h"
#include "net/base/net_export.h"
-#include "net/spdy/spdy_header_block.h"
-
-namespace base {
-class ListValue;
-} // namespace base
+#include "net/log/net_log_capture_mode.h"
namespace net {
-class NetLogCaptureMode;
-
// Given an HTTP header |header| with value |value|, returns the elided version
// of the header value at |log_level|.
NET_EXPORT_PRIVATE std::string ElideHeaderValueForNetLog(
@@ -26,17 +19,6 @@ NET_EXPORT_PRIVATE std::string ElideHeaderValueForNetLog(
const std::string& header,
const std::string& value);
-// Given an HTTP/2 GOAWAY frame |debug_data|, returns the elided version
-// according to |capture_mode|.
-NET_EXPORT_PRIVATE std::string ElideGoAwayDebugDataForNetLog(
- NetLogCaptureMode capture_mode,
- base::StringPiece debug_data);
-
-// Given a SpdyHeaderBlock, return its base::ListValue representation.
-std::unique_ptr<base::ListValue> ElideSpdyHeaderBlockForNetLog(
- const SpdyHeaderBlock& headers,
- NetLogCaptureMode capture_mode);
-
} // namespace net
#endif // NET_HTTP_HTTP_LOG_UTIL_H_
« no previous file with comments | « net/http/bidirectional_stream.cc ('k') | net/http/http_log_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698