Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Unified Diff: google_apis/gcm/tools/mcs_probe.cc

Issue 1414313002: Allow dynamic updating of authentication policies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix missing Chromeos includes Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..4c795b47c7ca457f9a37ef5fbc9ed555cf7a558d 100644
--- a/google_apis/gcm/tools/mcs_probe.cc
+++ b/google_apis/gcm/tools/mcs_probe.cc
@@ -376,10 +376,10 @@ void MCSProbe::InitializeNetworkState() {
base::WorkerPool::GetTaskRunner(true)));
transport_security_state_.reset(new net::TransportSecurityState());
- url_security_manager_.reset(net::URLSecurityManager::Create(NULL, NULL));
+ url_security_manager_.reset(net::URLSecurityManager::Create());
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, net::kBasicAuthScheme),
+ url_security_manager_.get(), host_resolver_.get(), std::string()));
http_server_properties_.reset(new net::HttpServerPropertiesImpl());
host_mapping_rules_.reset(new net::HostMappingRules());
proxy_service_ = net::ProxyService::CreateDirectWithNetLog(&net_log_);

Powered by Google App Engine
This is Rietveld 408576698