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

Unified Diff: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc

Issue 626503002: [athena] Various fixes for out-of-box/login (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc
index 87558f07d4196f70fb0e78b0198dd0202226371f..f1194429cf710e451fea3673e6e18c323c58f309 100644
--- a/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc
@@ -1150,7 +1150,12 @@ void SigninScreenHandler::HandleOfflineLogin(const base::ListValue* args) {
}
void SigninScreenHandler::HandleShutdownSystem() {
+#if defined(USE_ATHENA)
+ chromeos::DBusThreadManager::Get()->
+ GetPowerManagerClient()->RequestShutdown();
+#else
ash::Shell::GetInstance()->lock_state_controller()->RequestShutdown();
+#endif
}
void SigninScreenHandler::HandleLoadWallpaper(const std::string& email) {
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698