| Index: net/http/http_server_properties_impl.h
|
| diff --git a/net/http/http_server_properties_impl.h b/net/http/http_server_properties_impl.h
|
| index 4be257c8d0d00165b837f155dc5c89e179394e5b..0dbfa73d3baf7e3d2efa9aac7635e8fbdb275ddf 100644
|
| --- a/net/http/http_server_properties_impl.h
|
| +++ b/net/http/http_server_properties_impl.h
|
| @@ -79,9 +79,10 @@ class NET_EXPORT HttpServerPropertiesImpl
|
|
|
| base::WeakPtr<HttpServerProperties> GetWeakPtr() override;
|
| void Clear() override;
|
| - bool SupportsRequestPriority(const HostPortPair& server) override;
|
| - bool GetSupportsSpdy(const HostPortPair& server) override;
|
| - void SetSupportsSpdy(const HostPortPair& server, bool support_spdy) override;
|
| + bool SupportsRequestPriority(const url::SchemeHostPort& server) override;
|
| + bool GetSupportsSpdy(const url::SchemeHostPort& server) override;
|
| + void SetSupportsSpdy(const url::SchemeHostPort& server,
|
| + bool support_spdy) override;
|
| bool RequiresHTTP11(const HostPortPair& server) override;
|
| void SetHTTP11Required(const HostPortPair& server) override;
|
| void MaybeForceHTTP11(const HostPortPair& server,
|
| @@ -135,9 +136,9 @@ class NET_EXPORT HttpServerPropertiesImpl
|
| private:
|
| friend class HttpServerPropertiesImplPeer;
|
|
|
| - // |spdy_servers_map_| has flattened representation of servers (host, port)
|
| - // that either support or not support SPDY protocol.
|
| - typedef base::MRUCache<std::string, bool> SpdyServerHostPortMap;
|
| + // |spdy_servers_map_| has flattened representation of servers
|
| + // (scheme, host, port) that either support or not support SPDY protocol.
|
| + typedef base::MRUCache<std::string, bool> SpdyServersMap;
|
| typedef std::map<HostPortPair, HostPortPair> CanonicalHostMap;
|
| typedef std::vector<std::string> CanonicalSufficList;
|
| typedef std::set<HostPortPair> Http11ServerHostPortSet;
|
| @@ -163,7 +164,7 @@ class NET_EXPORT HttpServerPropertiesImpl
|
| void ExpireBrokenAlternateProtocolMappings();
|
| void ScheduleBrokenAlternateProtocolMappingsExpiration();
|
|
|
| - SpdyServerHostPortMap spdy_servers_map_;
|
| + SpdyServersMap spdy_servers_map_;
|
| Http11ServerHostPortSet http11_servers_;
|
|
|
| AlternativeServiceMap alternative_service_map_;
|
|
|