OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NET_HTTP_HTTP_LOG_UTIL_ | 5 #ifndef NET_HTTP_HTTP_LOG_UTIL_H_ |
6 #define NET_HTTP_HTTP_LOG_UTIL_ | 6 #define NET_HTTP_HTTP_LOG_UTIL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/strings/string_piece.h" | 10 #include "base/strings/string_piece.h" |
11 #include "net/base/net_export.h" | 11 #include "net/base/net_export.h" |
12 #include "net/spdy/spdy_header_block.h" | 12 #include "net/spdy/spdy_header_block.h" |
13 | 13 |
14 namespace base { | 14 namespace base { |
15 class ListValue; | 15 class ListValue; |
16 } // namespace base | 16 } // namespace base |
(...skipping 15 matching lines...) Expand all Loading... |
32 NetLogCaptureMode capture_mode, | 32 NetLogCaptureMode capture_mode, |
33 base::StringPiece debug_data); | 33 base::StringPiece debug_data); |
34 | 34 |
35 // Given a SpdyHeaderBlock, return its base::ListValue representation. | 35 // Given a SpdyHeaderBlock, return its base::ListValue representation. |
36 std::unique_ptr<base::ListValue> ElideSpdyHeaderBlockForNetLog( | 36 std::unique_ptr<base::ListValue> ElideSpdyHeaderBlockForNetLog( |
37 const SpdyHeaderBlock& headers, | 37 const SpdyHeaderBlock& headers, |
38 NetLogCaptureMode capture_mode); | 38 NetLogCaptureMode capture_mode); |
39 | 39 |
40 } // namespace net | 40 } // namespace net |
41 | 41 |
42 #endif // NET_HTTP_HTTP_LOG_UTIL_ | 42 #endif // NET_HTTP_HTTP_LOG_UTIL_H_ |
OLD | NEW |