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

Unified Diff: ash/common/shutdown_controller.cc

Issue 2741273002: chromeos: Promotes more from WmShell to Shell (Closed)
Patch Set: cleanup Created 3 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
Index: ash/common/shutdown_controller.cc
diff --git a/ash/common/shutdown_controller.cc b/ash/common/shutdown_controller.cc
index b40fe8626152d55caa874aefca83199e8a9b8c8e..da5aed4deded8345229430c7b2a743ba6b71de67 100644
--- a/ash/common/shutdown_controller.cc
+++ b/ash/common/shutdown_controller.cc
@@ -5,7 +5,7 @@
#include "ash/common/shutdown_controller.h"
#include "ash/common/shell_delegate.h"
-#include "ash/common/wm_shell.h"
+#include "ash/shell.h"
#include "base/sys_info.h"
#include "chromeos/dbus/dbus_thread_manager.h"
#include "chromeos/dbus/power_manager_client.h"
@@ -19,7 +19,7 @@ ShutdownController::~ShutdownController() {}
void ShutdownController::ShutDownOrReboot() {
// For developers on Linux desktop just exit the app.
if (!base::SysInfo::IsRunningOnChromeOS()) {
- WmShell::Get()->delegate()->Exit();
+ Shell::Get()->delegate()->Exit();
return;
}

Powered by Google App Engine
This is Rietveld 408576698