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

Side by Side Diff: net/spdy/spdy_log_util.h

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 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 unified diff | Download patch
« no previous file with comments | « net/spdy/spdy_http_utils_unittest.cc ('k') | net/spdy/spdy_log_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_SPDY_SPDY_LOG_UTIL_H_
6 #define NET_SPDY_SPDY_LOG_UTIL_H_
7
8 #include <memory>
9
10 #include "base/strings/string_piece.h"
11 #include "net/base/net_export.h"
12 #include "net/log/net_log_capture_mode.h"
13 #include "net/spdy/platform/api/spdy_string.h"
14 #include "net/spdy/spdy_header_block.h"
15
16 namespace base {
17 class ListValue;
18 } // namespace base
19
20 namespace net {
21
22 // Given an HTTP/2 GOAWAY frame |debug_data|, returns the elided version
23 // according to |capture_mode|.
24 NET_EXPORT_PRIVATE SpdyString
25 ElideGoAwayDebugDataForNetLog(NetLogCaptureMode capture_mode,
26 base::StringPiece debug_data);
27
28 // Given a SpdyHeaderBlock, return its base::ListValue representation.
29 NET_EXPORT_PRIVATE std::unique_ptr<base::ListValue>
30 ElideSpdyHeaderBlockForNetLog(const SpdyHeaderBlock& headers,
31 NetLogCaptureMode capture_mode);
32
33 } // namespace net
34
35 #endif // NET_SPDY_SPDY_LOG_UTIL_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_http_utils_unittest.cc ('k') | net/spdy/spdy_log_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698