| 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 61ff9b64a00003749c9f0f612de348b1fab887f3..339e95d0b4e1928ce1cff244a812e22170042cac 100644
|
| --- a/ash/common/system/tray/system_tray_delegate.h
|
| +++ b/ash/common/system/tray/system_tray_delegate.h
|
| @@ -32,7 +32,6 @@ struct IMEInfo;
|
| struct IMEPropertyInfo;
|
|
|
| class CustodianInfoTrayObserver;
|
| -class ShutdownPolicyObserver;
|
| class SystemTray;
|
| class SystemTrayItem;
|
|
|
| @@ -76,8 +75,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,
|
| @@ -223,18 +220,6 @@ class ASH_EXPORT SystemTrayDelegate {
|
| virtual void RemoveCustodianInfoTrayObserver(
|
| CustodianInfoTrayObserver* observer);
|
|
|
| - // Adds an observer whose |OnShutdownPolicyChanged| function is called when
|
| - // the |DeviceRebootOnShutdown| policy changes. If this policy is set to
|
| - // true, a device cannot be shut down anymore but only rebooted.
|
| - virtual void AddShutdownPolicyObserver(ShutdownPolicyObserver* observer);
|
| -
|
| - virtual void RemoveShutdownPolicyObserver(ShutdownPolicyObserver* observer);
|
| -
|
| - // 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);
|
| -
|
| // Returns VPNDelegate. May return nullptr.
|
| virtual VPNDelegate* GetVPNDelegate() const;
|
|
|
|
|