| 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..91f6ddcfd7e8c322cfdef168eb8844239c06bfac 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"
|
| @@ -18,10 +19,11 @@ class HttpRequestHeaders;
|
|
|
| // Convert a SpdyHeaderBlock into an HttpResponseInfo.
|
| // |headers| input parameter with the SpdyHeaderBlock.
|
| -// |info| output parameter for the HttpResponseInfo.
|
| +// |response| output parameter for the HttpResponseInfo.
|
| // 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,12 @@ void CreateSpdyHeadersFromHttpRequest(const HttpRequestInfo& info,
|
| int protocol_version,
|
| bool direct);
|
|
|
| +// Returns the URL associated with the |headers| by assembling the
|
| +// scheme, host and path from the protocol specific keys.
|
| +GURL GetUrlFromHeaderBlock(const SpdyHeaderBlock& headers,
|
| + int protocol_version,
|
| + bool pushed);
|
| +
|
| NET_EXPORT_PRIVATE int ConvertRequestPriorityToSpdyPriority(
|
| RequestPriority priority);
|
|
|
|
|