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

Side by Side Diff: net/tools/quic/spdy_utils.h

Issue 847813005: Updates quic_client_bin.cc to be more user friendly, and support more (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Refactoring_code_for_readability_83493327
Patch Set: Added DumpHeadersToString to dump response headers Created 5 years, 11 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_TOOLS_QUIC_SPDY_UTILS_H_ 5 #ifndef NET_TOOLS_QUIC_SPDY_UTILS_H_
6 #define NET_TOOLS_QUIC_SPDY_UTILS_H_ 6 #define NET_TOOLS_QUIC_SPDY_UTILS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "net/spdy/spdy_framer.h" 10 #include "net/spdy/spdy_framer.h"
(...skipping 14 matching lines...) Expand all
25 25
26 static bool FillBalsaRequestHeaders(const SpdyHeaderBlock& header_block, 26 static bool FillBalsaRequestHeaders(const SpdyHeaderBlock& header_block,
27 BalsaHeaders* request_headers); 27 BalsaHeaders* request_headers);
28 28
29 static bool FillBalsaResponseHeaders(const SpdyHeaderBlock& header_block, 29 static bool FillBalsaResponseHeaders(const SpdyHeaderBlock& header_block,
30 BalsaHeaders* response_headers); 30 BalsaHeaders* response_headers);
31 31
32 static SpdyHeaderBlock RequestHeadersToSpdyHeaders( 32 static SpdyHeaderBlock RequestHeadersToSpdyHeaders(
33 const BalsaHeaders& request_headers); 33 const BalsaHeaders& request_headers);
34 34
35 static SpdyHeaderBlock RequestHeadersToSpdy4Headers(
36 const BalsaHeaders& request_headers);
37
35 static SpdyHeaderBlock ResponseHeadersToSpdyHeaders( 38 static SpdyHeaderBlock ResponseHeadersToSpdyHeaders(
36 const BalsaHeaders& response_headers); 39 const BalsaHeaders& response_headers);
37 40
38 static std::string SerializeUncompressedHeaders( 41 static std::string SerializeUncompressedHeaders(
39 const SpdyHeaderBlock& headers); 42 const SpdyHeaderBlock& headers);
40 43
41 private: 44 private:
42 DISALLOW_COPY_AND_ASSIGN(SpdyUtils); 45 DISALLOW_COPY_AND_ASSIGN(SpdyUtils);
43 }; 46 };
44 47
45 } // namespace tools 48 } // namespace tools
46 } // namespace net 49 } // namespace net
47 50
48 #endif // NET_TOOLS_QUIC_SPDY_UTILS_H_ 51 #endif // NET_TOOLS_QUIC_SPDY_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698