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

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

Issue 1817443002: Rename mash_shell to mash_session. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/BUILD.gn ('k') | mash/login/login.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 1d56a8728b0435d9eff7d1fa6938d8653c4427c1..2628f034753b6659e572232cb70962f2bd0a99b5 100644
--- a/mash/example/window_type_launcher/window_type_launcher.cc
+++ b/mash/example/window_type_launcher/window_type_launcher.cc
@@ -7,7 +7,7 @@
#include "base/macros.h"
#include "base/message_loop/message_loop.h"
#include "base/strings/utf_string_conversions.h"
-#include "mash/shell/public/interfaces/shell.mojom.h"
+#include "mash/session/public/interfaces/session.mojom.h"
#include "mojo/converters/geometry/geometry_type_converters.h"
#include "mojo/shell/public/cpp/connection.h"
#include "mojo/shell/public/cpp/connector.h"
@@ -279,17 +279,17 @@ class WindowTypeLauncherView : public views::WidgetDelegateView,
} else if (sender == bubble_button_) {
NOTIMPLEMENTED();
} else if (sender == lock_button_) {
- mash::shell::mojom::ShellPtr shell;
- connector_->ConnectToInterface("mojo:mash_shell", &shell);
- shell->LockScreen();
+ mash::session::mojom::SessionPtr session;
+ connector_->ConnectToInterface("mojo:mash_session", &session);
+ session->LockScreen();
} else if (sender == logout_button_) {
- mash::shell::mojom::ShellPtr shell;
- connector_->ConnectToInterface("mojo:mash_shell", &shell);
- shell->Logout();
+ mash::session::mojom::SessionPtr session;
+ connector_->ConnectToInterface("mojo:mash_session", &session);
+ session->Logout();
} else if (sender == switch_user_button_) {
- mash::shell::mojom::ShellPtr shell;
- connector_->ConnectToInterface("mojo:mash_shell", &shell);
- shell->SwitchUser();
+ mash::session::mojom::SessionPtr session;
+ connector_->ConnectToInterface("mojo:mash_session", &session);
+ session->SwitchUser();
} else if (sender == widgets_button_) {
NOTIMPLEMENTED();
}
« no previous file with comments | « mash/example/window_type_launcher/BUILD.gn ('k') | mash/login/login.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698