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

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

Issue 2492063002: chromeos: Simplify ShutdownPolicyHandler
Patch Set: unused typedef 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: 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 173e8503802b11423702f79984fac2da775336e9..82c3a47911898f603b1662b3bcf380c8304e929f 100644
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
@@ -599,9 +599,8 @@ void SystemTrayDelegateChromeOS::RemoveShutdownPolicyObserver(
shutdown_policy_observers_.RemoveObserver(observer);
}
-void SystemTrayDelegateChromeOS::ShouldRebootOnShutdown(
- const ash::RebootOnShutdownCallback& callback) {
- shutdown_policy_handler_->CheckIfRebootOnShutdown(callback);
+void SystemTrayDelegateChromeOS::CheckIfRebootOnShutdown() {
+ shutdown_policy_handler_->CheckIfRebootOnShutdown();
}
ash::VPNDelegate* SystemTrayDelegateChromeOS::GetVPNDelegate() const {

Powered by Google App Engine
This is Rietveld 408576698