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

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

Issue 1687693002: Rename ConnectToService to ConnectToInterface() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sp2
Patch Set: . Created 4 years, 10 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/browser_driver/browser_driver_application_delegate.cc ('k') | mash/screenlock/screenlock.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 14ffd164a909d84c4c0d6aa139a3b4e99a2a9257..b8dcbb626fe3c16814c7fec5d54524f2d469f6c8 100644
--- a/mash/example/window_type_launcher/window_type_launcher.cc
+++ b/mash/example/window_type_launcher/window_type_launcher.cc
@@ -274,7 +274,7 @@ class WindowTypeLauncherView : public views::WidgetDelegateView,
}
else if (sender == lock_button_) {
mash::shell::mojom::ShellPtr shell;
- shell_->ConnectToService("mojo:mash_shell", &shell);
+ shell_->ConnectToInterface("mojo:mash_shell", &shell);
shell->LockScreen();
}
else if (sender == widgets_button_) {
« no previous file with comments | « mash/browser_driver/browser_driver_application_delegate.cc ('k') | mash/screenlock/screenlock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698