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

Unified Diff: ash/common/system/tray/system_tray_delegate.cc

Issue 2492063002: chromeos: Simplify ShutdownPolicyHandler
Patch Set: rebase Created 4 years, 1 month 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/system/tray/system_tray_delegate.cc
diff --git a/ash/common/system/tray/system_tray_delegate.cc b/ash/common/system/tray/system_tray_delegate.cc
index d30bc104db836b42a8103762087f4832f7848048..59a3c38300d6f0b71f7b13dddd8d4b17ec447316 100644
--- a/ash/common/system/tray/system_tray_delegate.cc
+++ b/ash/common/system/tray/system_tray_delegate.cc
@@ -164,8 +164,7 @@ void SystemTrayDelegate::AddShutdownPolicyObserver(
void SystemTrayDelegate::RemoveShutdownPolicyObserver(
ShutdownPolicyObserver* observer) {}
-void SystemTrayDelegate::ShouldRebootOnShutdown(
- const RebootOnShutdownCallback& callback) {}
+void SystemTrayDelegate::CheckIfRebootOnShutdown() {}
VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const {
return nullptr;
« no previous file with comments | « ash/common/system/tray/system_tray_delegate.h ('k') | chrome/browser/chromeos/settings/shutdown_policy_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698