Index: net/spdy/spdy_http_utils.h |
diff --git a/net/spdy/spdy_http_utils.h b/net/spdy/spdy_http_utils.h |
index 3abe269a2f66615c13693654e59528fbd2904050..db3fadb4ee8cc4cfbfb806689e48aa02acdb379c 100644 |
--- a/net/spdy/spdy_http_utils.h |
+++ b/net/spdy/spdy_http_utils.h |
@@ -6,6 +6,7 @@ |
#define NET_SPDY_SPDY_HTTP_UTILS_H_ |
#pragma once |
+#include "googleurl/src/gurl.h" |
#include "net/base/net_export.h" |
#include "net/base/request_priority.h" |
#include "net/spdy/spdy_framer.h" |
@@ -22,6 +23,7 @@ class HttpRequestHeaders; |
// Returns true if successfully converted. False if the SpdyHeaderBlock is |
// incomplete (e.g. missing 'status' or 'version'). |
bool SpdyHeadersToHttpResponse(const SpdyHeaderBlock& headers, |
+ int protocol_version, |
HttpResponseInfo* response); |
// Create a SpdyHeaderBlock for a Spdy SYN_STREAM Frame from |
@@ -32,6 +34,10 @@ void CreateSpdyHeadersFromHttpRequest(const HttpRequestInfo& info, |
int protocol_version, |
bool direct); |
+GURL GetUrlFromHeaderBlock(const SpdyHeaderBlock& headers, |
ramant (doing other things)
2012/03/30 22:19:58
nit: Would be great if we could have a comment for
Ryan Hamilton
2012/03/30 22:46:02
Done.
|
+ int protocol_version, |
+ bool pushed); |
+ |
NET_EXPORT_PRIVATE int ConvertRequestPriorityToSpdyPriority( |
RequestPriority priority); |