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

Unified Diff: net/http/http_log_util.h

Issue 1932853002: Log urls and headers in BIDIRECTIONAL_STREAM events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 years, 8 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_unittest.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 5fda79ccf13570c583bb622ff51915c23679deab..ce4713930a7d80c97a6d41d1d134dcf31b1c54cb 100644
--- a/net/http/http_log_util.h
+++ b/net/http/http_log_util.h
@@ -10,6 +10,11 @@
#include "base/strings/string_piece.h"
#include "net/base/net_export.h"
#include "net/log/net_log.h"
+#include "net/spdy/spdy_header_block.h"
+
+namespace base {
+class ListValue;
+} // namespace base
namespace net {
@@ -26,6 +31,11 @@ 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_
« no previous file with comments | « net/http/bidirectional_stream_unittest.cc ('k') | net/http/http_log_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698