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

Unified Diff: shell/application_manager/application_manager.cc

Issue 1490963002: Disable authentication in application_manager for FNL (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « shell/application_manager/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/application_manager/application_manager.cc
diff --git a/shell/application_manager/application_manager.cc b/shell/application_manager/application_manager.cc
index c87f5115ab530a4b0654a9300b1a3cd69d611b10..77d657d1b95f7d14572357265fc44c4cef86600e 100644
--- a/shell/application_manager/application_manager.cc
+++ b/shell/application_manager/application_manager.cc
@@ -215,6 +215,8 @@ void ApplicationManager::ConnectToApplicationWithParameters(
"/authenticating_url_loader_interceptor.mojo", true)) {
network_service = network_service_.get();
} else if (!initialized_authentication_interceptor_) {
+#ifndef NO_AUTHENTICATION
+ // TODO(toshik): FNL hasn't supported authentication, yet
authentication::AuthenticationServicePtr authentication_service;
ConnectToService(GURL("mojo:authentication"), &authentication_service);
mojo::AuthenticatingURLLoaderInterceptorMetaFactoryPtr
@@ -226,6 +228,7 @@ void ApplicationManager::ConnectToApplicationWithParameters(
GetProxy(&interceptor_factory), authentication_service.Pass());
authenticating_network_service_->RegisterURLLoaderInterceptor(
interceptor_factory.Pass());
+#endif
initialized_authentication_interceptor_ = true;
}
« no previous file with comments | « shell/application_manager/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698