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

Unified Diff: mash/example/window_type_launcher/window_type_launcher.cc

Issue 2390013002: Rename mojo: to service: (Closed)
Patch Set: . Created 4 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
« no previous file with comments | « mash/example/window_type_launcher/manifest.json ('k') | mash/init/init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/example/window_type_launcher/window_type_launcher.cc
diff --git a/mash/example/window_type_launcher/window_type_launcher.cc b/mash/example/window_type_launcher/window_type_launcher.cc
index 5618c8a339472ec3eb5350243220ed9b093e6ff2..0ec6d5b06d3f194227eb19c8fe011d408e7b90a9 100644
--- a/mash/example/window_type_launcher/window_type_launcher.cc
+++ b/mash/example/window_type_launcher/window_type_launcher.cc
@@ -369,15 +369,15 @@ class WindowTypeLauncherView : public views::WidgetDelegateView,
NOTIMPLEMENTED();
} else if (sender == lock_button_) {
mash::session::mojom::SessionPtr session;
- connector_->ConnectToInterface("mojo:mash_session", &session);
+ connector_->ConnectToInterface("service:mash_session", &session);
session->LockScreen();
} else if (sender == logout_button_) {
mash::session::mojom::SessionPtr session;
- connector_->ConnectToInterface("mojo:mash_session", &session);
+ connector_->ConnectToInterface("service:mash_session", &session);
session->Logout();
} else if (sender == switch_user_button_) {
mash::session::mojom::SessionPtr session;
- connector_->ConnectToInterface("mojo:mash_session", &session);
+ connector_->ConnectToInterface("service:mash_session", &session);
session->SwitchUser();
} else if (sender == widgets_button_) {
NOTIMPLEMENTED();
« no previous file with comments | « mash/example/window_type_launcher/manifest.json ('k') | mash/init/init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698