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

Unified Diff: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc

Issue 811283003: Clean-up of the system shutdown code paths (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
index 11bddcfec7d98278f10c0a13d2b546466af1ecfd..a350eb38add81dd1d733fb5743d7c62d2f324b29 100644
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
@@ -596,11 +596,6 @@ void SystemTrayDelegateChromeOS::ShowUserLogin() {
}
}
-void SystemTrayDelegateChromeOS::ShutDown() {
- ash::Shell::GetInstance()->lock_state_controller()->RequestShutdown(
- ash::LockStateController::POWER_OFF);
-}
-
void SystemTrayDelegateChromeOS::SignOut() {
chrome::AttemptUserExit();
}

Powered by Google App Engine
This is Rietveld 408576698