Chromium Code Reviews| 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..41bfd3af5f89ee632119ded341309cea3afc3a26 100644 |
| --- a/net/http/http_stream_factory.h |
| +++ b/net/http/http_stream_factory.h |
| @@ -39,6 +39,7 @@ class HostPortPair; |
| class HttpAuthController; |
| class HttpNetworkSession; |
| class HttpResponseInfo; |
| +class HttpResponseHeaders; |
|
mef
2016/03/21 22:21:56
nit: I think this should go up one line.
xunjieli
2016/03/22 02:28:59
Done.
|
| class HttpServerProperties; |
| class HttpStream; |
| class ProxyInfo; |
| @@ -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); |