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

Unified Diff: services/ui/launcher/launcher_app.cc

Issue 1977043002: ApplicationConnection devolution, part 1. (Closed) Base URL: https://github.com/domokit/mojo.git@work791_service_registry_spimpl
Patch Set: rebased Created 4 years, 7 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: services/ui/launcher/launcher_app.cc
diff --git a/services/ui/launcher/launcher_app.cc b/services/ui/launcher/launcher_app.cc
index 918681ef61b0c473011b8befbe034218443c19c4..d0f1377726920254925157be9206b091d5dd2b52 100644
--- a/services/ui/launcher/launcher_app.cc
+++ b/services/ui/launcher/launcher_app.cc
@@ -39,7 +39,9 @@ void LauncherApp::Initialize(mojo::ApplicationImpl* app_impl) {
bool LauncherApp::ConfigureIncomingConnection(
mojo::ApplicationConnection* connection) {
// Only present the launcher interface to the shell.
- if (connection->GetRemoteApplicationURL().empty()) {
+ if (connection->GetServiceProviderImpl()
+ .connection_context()
+ .remote_url.empty()) {
connection->AddService<Launcher>(this);
}
return true;
« no previous file with comments | « services/python/content_handler/content_handler_main.cc ('k') | shell/application_manager/application_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698