| Index: net/http/http_stream_factory.h
|
| diff --git a/net/http/http_stream_factory.h b/net/http/http_stream_factory.h
|
| index f47ada13c7b5f8c8f74f5e343831037d380f73f8..e207a8676f65f7023e3919276e69ebe087233d0b 100644
|
| --- a/net/http/http_stream_factory.h
|
| +++ b/net/http/http_stream_factory.h
|
| @@ -38,6 +38,7 @@ class HostMappingRules;
|
| class HostPortPair;
|
| class HttpAuthController;
|
| class HttpNetworkSession;
|
| +class HttpResponseHeaders;
|
| class HttpResponseInfo;
|
| class HttpServerProperties;
|
| class HttpStream;
|
| @@ -200,17 +201,9 @@ class NET_EXPORT HttpStreamFactory {
|
| public:
|
| virtual ~HttpStreamFactory();
|
|
|
| - void ProcessAlternativeService(
|
| - const base::WeakPtr<HttpServerProperties>& http_server_properties,
|
| - base::StringPiece alternative_service_str,
|
| - const HostPortPair& http_host_port_pair,
|
| - const HttpNetworkSession& session);
|
| -
|
| - void ProcessAlternateProtocol(
|
| - const base::WeakPtr<HttpServerProperties>& http_server_properties,
|
| - const std::vector<std::string>& alternate_protocol_values,
|
| - const HostPortPair& http_host_port_pair,
|
| - const HttpNetworkSession& session);
|
| + void ProcessAlternativeServices(HttpNetworkSession* session,
|
| + const HttpResponseHeaders* headers,
|
| + const HostPortPair& http_host_port_pair);
|
|
|
| GURL ApplyHostMappingRules(const GURL& url, HostPortPair* endpoint);
|
|
|
| @@ -274,6 +267,18 @@ class NET_EXPORT HttpStreamFactory {
|
| HttpStreamFactory();
|
|
|
| private:
|
| + void ProcessAlternativeService(
|
| + const base::WeakPtr<HttpServerProperties>& http_server_properties,
|
| + base::StringPiece alternative_service_str,
|
| + const HostPortPair& http_host_port_pair,
|
| + const HttpNetworkSession& session);
|
| +
|
| + void ProcessAlternateProtocol(
|
| + const base::WeakPtr<HttpServerProperties>& http_server_properties,
|
| + const std::vector<std::string>& alternate_protocol_values,
|
| + const HostPortPair& http_host_port_pair,
|
| + const HttpNetworkSession& session);
|
| +
|
| static bool spdy_enabled_;
|
|
|
| HostPortPair RewriteHost(HostPortPair host_port_pair);
|
|
|