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

Unified Diff: net/spdy/spdy_http_utils.h

Issue 1692253004: QUIC - chromium server push support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review feedback round 2. Created 4 years, 10 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/quic/test_tools/quic_stream_factory_peer.cc ('k') | net/spdy/spdy_http_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_http_utils.h
diff --git a/net/spdy/spdy_http_utils.h b/net/spdy/spdy_http_utils.h
index 7c5f33a0eb76c323cf93255005454ba3b19e1a6d..b33a91a2215ed9165df8ed7034ee4e2d040e0042 100644
--- a/net/spdy/spdy_http_utils.h
+++ b/net/spdy/spdy_http_utils.h
@@ -43,6 +43,11 @@ NET_EXPORT void CreateSpdyHeadersFromHttpResponse(
SpdyMajorVersion protocol_version,
SpdyHeaderBlock* headers);
+// Create HttpRequestHeaders from SpdyHeaderBlock.
+NET_EXPORT void ConvertHeaderBlockToHttpRequestHeaders(
+ const SpdyHeaderBlock& spdy_headers,
+ HttpRequestHeaders* http_headers);
+
// Returns the URL associated with the |headers| by assembling the
// scheme, host and path from the protocol specific keys.
NET_EXPORT GURL GetUrlFromHeaderBlock(const SpdyHeaderBlock& headers,
« no previous file with comments | « net/quic/test_tools/quic_stream_factory_peer.cc ('k') | net/spdy/spdy_http_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698