| Index: net/http/http_stream_factory.cc
|
| diff --git a/net/http/http_stream_factory.cc b/net/http/http_stream_factory.cc
|
| index b575f48a32e4e5cc0b610e6302744f1fcffb4dac..4673d5805e16d06d31c252a001b9326afaf13f22 100644
|
| --- a/net/http/http_stream_factory.cc
|
| +++ b/net/http/http_stream_factory.cc
|
| @@ -32,14 +32,6 @@ std::list<HostPortPair>* HttpStreamFactory::forced_spdy_exclusions_ = NULL;
|
| // static
|
| bool HttpStreamFactory::ignore_certificate_errors_ = false;
|
|
|
| -// static
|
| -void HttpStreamFactory::SetHostMappingRules(const std::string& rules) {
|
| - HostMappingRules* host_mapping_rules = new HostMappingRules();
|
| - host_mapping_rules->SetRulesFromString(rules);
|
| - delete host_mapping_rules_;
|
| - host_mapping_rules_ = host_mapping_rules;
|
| -}
|
| -
|
| HttpStreamFactory::HttpStreamFactory() {
|
| }
|
|
|
| @@ -53,6 +45,14 @@ HttpStreamFactory::~HttpStreamFactory() {
|
| }
|
| }
|
|
|
| +// static
|
| +void HttpStreamFactory::SetHostMappingRules(const std::string& rules) {
|
| + HostMappingRules* host_mapping_rules = new HostMappingRules();
|
| + host_mapping_rules->SetRulesFromString(rules);
|
| + delete host_mapping_rules_;
|
| + host_mapping_rules_ = host_mapping_rules;
|
| +}
|
| +
|
| StreamRequest* HttpStreamFactory::RequestStream(
|
| const HttpRequestInfo* request_info,
|
| SSLConfig* ssl_config,
|
|
|