Index: google_apis/gcm/tools/mcs_probe.cc |
diff --git a/google_apis/gcm/tools/mcs_probe.cc b/google_apis/gcm/tools/mcs_probe.cc |
index b2acc19750007db96aa0b624601433c1417858fb..260f68e2b1e42aa66f1112afc82a70d21ae80d1e 100644 |
--- a/google_apis/gcm/tools/mcs_probe.cc |
+++ b/google_apis/gcm/tools/mcs_probe.cc |
@@ -378,8 +378,10 @@ void MCSProbe::InitializeNetworkState() { |
transport_security_state_.reset(new net::TransportSecurityState()); |
url_security_manager_.reset(net::URLSecurityManager::Create(NULL, NULL)); |
http_auth_handler_factory_.reset(net::HttpAuthHandlerRegistryFactory::Create( |
- std::vector<std::string>(1, "basic"), url_security_manager_.get(), |
- host_resolver_.get(), std::string(), std::string(), false, false)); |
+ std::vector<std::string>(1, "basic"), host_resolver_.get(), |
+ std::string())); |
+ http_auth_handler_factory_->set_url_security_manager( |
+ url_security_manager_.get()); |
http_server_properties_.reset(new net::HttpServerPropertiesImpl()); |
host_mapping_rules_.reset(new net::HostMappingRules()); |
proxy_service_ = net::ProxyService::CreateDirectWithNetLog(&net_log_); |