| Index: ash/public/interfaces/shutdown.mojom
|
| diff --git a/ash/public/interfaces/shutdown.mojom b/ash/public/interfaces/shutdown.mojom
|
| index e0060fb039461f7609b7c5550a3bda03675ccdc5..4785e773aef01150f25196e33cad9b539e172e7a 100644
|
| --- a/ash/public/interfaces/shutdown.mojom
|
| +++ b/ash/public/interfaces/shutdown.mojom
|
| @@ -4,13 +4,11 @@
|
|
|
| module ash.mojom;
|
|
|
| -// Interface implemented by service:content_browser to activate shutdown.
|
| -//
|
| -// TODO(erg): Eventually, when CrosSettings is moved out of chrome into its
|
| -// own process, this client should go away. The code which actually calls
|
| -// shutdown should be moved into ash/, and ash should subscribe to changes
|
| -// in CrosSettings. crbug.com/628792
|
| -interface ShutdownClient {
|
| - // Requests that the system shuts down.
|
| - RequestShutdown();
|
| +// Interface implemented by ash and used by chrome to provide shutdown policy
|
| +// information. Exists because device policy is owned by chrome, not ash.
|
| +interface ShutdownController {
|
| + // Sets a boolean pref that indicates whether the device automatically reboots
|
| + // when the user initiates a shutdown via an UI element. Used in enterprise
|
| + // environments for devices that should not be shut down.
|
| + SetRebootOnShutdown(bool reboot_on_shutdown);
|
| };
|
|
|