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

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: Created 5 years, 2 months 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..c9c9c4106d7d304704b2628bf1997b51d1c132e4 100644
--- a/google_apis/gcm/tools/mcs_probe.cc
+++ b/google_apis/gcm/tools/mcs_probe.cc
@@ -380,6 +380,7 @@ void MCSProbe::InitializeNetworkState() {
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));
+ http_auth_handler_factory_->SetSecurityManager(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_);

Powered by Google App Engine
This is Rietveld 408576698