Index: ash/common/system/tray/system_tray_delegate.h |
diff --git a/ash/common/system/tray/system_tray_delegate.h b/ash/common/system/tray/system_tray_delegate.h |
index d29eac0a43601819ab94428082590c24e749d1b4..c769dba89ae2886a4b2493b399cc8613f895e26b 100644 |
--- a/ash/common/system/tray/system_tray_delegate.h |
+++ b/ash/common/system/tray/system_tray_delegate.h |
@@ -76,8 +76,6 @@ class CastConfigDelegate; |
class NetworkingConfigDelegate; |
class VPNDelegate; |
-using RebootOnShutdownCallback = base::Callback<void(bool)>; |
- |
// SystemTrayDelegate is intended for delegating tasks in the System Tray to the |
// application (e.g. Chrome). These tasks should be limited to application |
// (browser) specific tasks. For non application specific tasks, where possible, |
@@ -228,8 +226,9 @@ class ASH_EXPORT SystemTrayDelegate { |
// Determines whether the device is automatically rebooted when shut down as |
// specified by the device policy |DeviceRebootOnShutdown|. This function |
- // asynchronously calls |callback| once a trusted policy becomes available. |
- virtual void ShouldRebootOnShutdown(const RebootOnShutdownCallback& callback); |
+ // notifies the shutdown policy observers added above once a trusted policy |
+ // becomes available. |
+ virtual void CheckIfRebootOnShutdown(); |
// Returns VPNDelegate. May return nullptr. |
virtual VPNDelegate* GetVPNDelegate() const; |