Chromium Code Reviews| 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..9ce10a91d0c085dc1651d9a2bbd1fdeb696c99dd 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> SpdyHeaderBlockToListValue( |
|
mef
2016/04/28 20:43:18
Maybe ElideSpdyHeaderBlockForNetLog? I see that yo
xunjieli
2016/04/28 21:06:15
Done.
|
| + const SpdyHeaderBlock& headers, |
| + NetLogCaptureMode capture_mode); |
| + |
| } // namespace net |
| #endif // NET_HTTP_HTTP_LOG_UTIL_ |