| Index: net/http/http_stream_factory.cc
|
| diff --git a/net/http/http_stream_factory.cc b/net/http/http_stream_factory.cc
|
| index b0f1780a7620451f77f997ea5c1930cc7769a020..7c96c8e700e3389a1c28c1ab612eab0128a2ea52 100644
|
| --- a/net/http/http_stream_factory.cc
|
| +++ b/net/http/http_stream_factory.cc
|
| @@ -69,20 +69,6 @@ void HttpStreamFactory::ProcessAlternativeServices(
|
| alternate_protocol_values, http_server, *session);
|
| }
|
|
|
| -GURL HttpStreamFactory::ApplyHostMappingRules(const GURL& url,
|
| - HostPortPair* endpoint) {
|
| - const HostMappingRules* mapping_rules = GetHostMappingRules();
|
| - if (mapping_rules && mapping_rules->RewriteHost(endpoint)) {
|
| - url::Replacements<char> replacements;
|
| - const std::string port_str = base::UintToString(endpoint->port());
|
| - replacements.SetPort(port_str.c_str(), url::Component(0, port_str.size()));
|
| - replacements.SetHost(endpoint->host().c_str(),
|
| - url::Component(0, endpoint->host().size()));
|
| - return url.ReplaceComponents(replacements);
|
| - }
|
| - return url;
|
| -}
|
| -
|
| HttpStreamFactory::HttpStreamFactory() {}
|
|
|
| void HttpStreamFactory::ProcessAlternativeService(
|
|
|