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 b46939578463411c158ff6472d57d026deae5c22..6d22636550eb3ecfbe4953bd1b03f6f36959b6d6 100644 |
--- a/mash/example/window_type_launcher/window_type_launcher.cc |
+++ b/mash/example/window_type_launcher/window_type_launcher.cc |
@@ -6,7 +6,6 @@ |
#include "base/macros.h" |
#include "base/strings/utf_string_conversions.h" |
-#include "mash/login/public/interfaces/login.mojom.h" |
#include "mash/shell/public/interfaces/shell.mojom.h" |
#include "mojo/converters/geometry/geometry_type_converters.h" |
#include "mojo/shell/public/cpp/connection.h" |
@@ -283,13 +282,13 @@ class WindowTypeLauncherView : public views::WidgetDelegateView, |
connector_->ConnectToInterface("mojo:mash_shell", &shell); |
shell->LockScreen(); |
} else if (sender == logout_button_) { |
- mash::login::mojom::LoginPtr login; |
- connector_->ConnectToInterface("mojo:login", &login); |
- login->Logout(); |
+ mash::shell::mojom::ShellPtr shell; |
+ connector_->ConnectToInterface("mojo:mash_shell", &shell); |
+ shell->Logout(); |
} else if (sender == switch_user_button_) { |
- mash::login::mojom::LoginPtr login; |
- connector_->ConnectToInterface("mojo:login", &login); |
- login->SwitchUser(); |
+ mash::shell::mojom::ShellPtr shell; |
+ connector_->ConnectToInterface("mojo:mash_shell", &shell); |
+ shell->SwitchUser(); |
} else if (sender == widgets_button_) { |
NOTIMPLEMENTED(); |
} |