| 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 d6686733db1f75fe187201d2c908590aa563021a..75a82c221f3971c1aadbee39b0b77780be11a5ca 100644
|
| --- a/net/http/http_server_properties_impl.h
|
| +++ b/net/http/http_server_properties_impl.h
|
| @@ -79,7 +79,7 @@ class NET_EXPORT HttpServerPropertiesImpl
|
|
|
| base::WeakPtr<HttpServerProperties> GetWeakPtr() override;
|
| void Clear() override;
|
| - bool SupportsRequestPriority(const HostPortPair& server) override;
|
| + bool SupportsRequestPriority(const url::SchemeHostPort& server) override;
|
| bool GetSupportsSpdy(const HostPortPair& server) override;
|
| void SetSupportsSpdy(const HostPortPair& server, bool support_spdy) override;
|
| bool RequiresHTTP11(const HostPortPair& server) override;
|
| @@ -87,11 +87,11 @@ class NET_EXPORT HttpServerPropertiesImpl
|
| void MaybeForceHTTP11(const HostPortPair& server,
|
| SSLConfig* ssl_config) override;
|
| AlternativeServiceVector GetAlternativeServices(
|
| - const HostPortPair& origin) override;
|
| - bool SetAlternativeService(const HostPortPair& origin,
|
| + const url::SchemeHostPort& origin) override;
|
| + bool SetAlternativeService(const url::SchemeHostPort& origin,
|
| const AlternativeService& alternative_service,
|
| base::Time expiration) override;
|
| - bool SetAlternativeServices(const HostPortPair& origin,
|
| + bool SetAlternativeServices(const url::SchemeHostPort& origin,
|
| const AlternativeServiceInfoVector&
|
| alternative_service_info_vector) override;
|
| void MarkAlternativeServiceBroken(
|
| @@ -104,7 +104,7 @@ class NET_EXPORT HttpServerPropertiesImpl
|
| const AlternativeService& alternative_service) override;
|
| void ConfirmAlternativeService(
|
| const AlternativeService& alternative_service) override;
|
| - void ClearAlternativeServices(const HostPortPair& origin) override;
|
| + void ClearAlternativeServices(const url::SchemeHostPort& origin) override;
|
| const AlternativeServiceMap& alternative_service_map() const override;
|
| scoped_ptr<base::Value> GetAlternativeServiceInfoAsValue() const override;
|
| const SettingsMap& GetSpdySettings(
|
| @@ -137,7 +137,7 @@ class NET_EXPORT HttpServerPropertiesImpl
|
| // |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;
|
| - typedef std::map<HostPortPair, HostPortPair> CanonicalHostMap;
|
| + typedef std::map<url::SchemeHostPort, url::SchemeHostPort> CanonicalHostMap;
|
| typedef std::vector<std::string> CanonicalSufficList;
|
| typedef std::set<HostPortPair> Http11ServerHostPortSet;
|
|
|
| @@ -153,12 +153,13 @@ class NET_EXPORT HttpServerPropertiesImpl
|
|
|
| // Return the iterator for |server|, or for its canonical host, or end.
|
| AlternativeServiceMap::const_iterator GetAlternateProtocolIterator(
|
| - const HostPortPair& server);
|
| + const url::SchemeHostPort& server);
|
|
|
| // Return the canonical host for |server|, or end if none exists.
|
| - CanonicalHostMap::const_iterator GetCanonicalHost(HostPortPair server) const;
|
| + CanonicalHostMap::const_iterator GetCanonicalHost(
|
| + url::SchemeHostPort server) const;
|
|
|
| - void RemoveCanonicalHost(const HostPortPair& server);
|
| + void RemoveCanonicalHost(const url::SchemeHostPort& server);
|
| void ExpireBrokenAlternateProtocolMappings();
|
| void ScheduleBrokenAlternateProtocolMappingsExpiration();
|
|
|
|
|