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

Unified Diff: net/tools/quic/spdy_utils.h

Issue 14651009: Land Recent QUIC changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix integer constant is too large for 'unsigned long' type Created 7 years, 7 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/tools/quic/quic_spdy_server_stream.cc ('k') | net/tools/quic/spdy_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/spdy_utils.h
diff --git a/net/tools/quic/spdy_utils.h b/net/tools/quic/spdy_utils.h
index 0c9653f0f4c837db9ff0820cb0a303c5f20f92b1..44782744526f04897f0e1e15aeacd01dcac858dc 100644
--- a/net/tools/quic/spdy_utils.h
+++ b/net/tools/quic/spdy_utils.h
@@ -7,6 +7,7 @@
#include <string>
+#include "net/spdy/spdy_framer.h"
#include "net/spdy/spdy_header_block.h"
#include "net/spdy/spdy_protocol.h"
#include "net/tools/flip_server/balsa_headers.h"
@@ -27,6 +28,15 @@ class SpdyUtils {
static bool FillBalsaResponseHeaders(const SpdyHeaderBlock& header_block,
BalsaHeaders* response_headers);
+
+ static SpdyHeaderBlock RequestHeadersToSpdyHeaders(
+ const BalsaHeaders& request_headers);
+
+ static SpdyHeaderBlock ResponseHeadersToSpdyHeaders(
+ const BalsaHeaders& response_headers);
+
+ static std::string SerializeUncompressedHeaders(
+ const SpdyHeaderBlock& headers);
};
} // namespace tools
« no previous file with comments | « net/tools/quic/quic_spdy_server_stream.cc ('k') | net/tools/quic/spdy_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698