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

Side by Side Diff: ash/public/interfaces/shutdown.mojom

Issue 2497123002: chromeos: Move device shutdown handling out of chrome into ash (Closed)
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 unified diff | Download patch
« no previous file with comments | « ash/mus/manifest.json ('k') | ash/shell.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module ash.mojom; 5 module ash.mojom;
6 6
7 // Interface implemented by service:content_browser to activate shutdown. 7 // Interface implemented by ash and used by chrome to provide shutdown policy
8 // 8 // information. Exists because device policy is owned by chrome, not ash.
9 // TODO(erg): Eventually, when CrosSettings is moved out of chrome into its 9 interface ShutdownController {
10 // own process, this client should go away. The code which actually calls 10 // Sets a boolean pref that indicates whether the device automatically reboots
11 // shutdown should be moved into ash/, and ash should subscribe to changes 11 // when the user initiates a shutdown via an UI element. Used in enterprise
12 // in CrosSettings. crbug.com/628792 12 // environments for devices that should not be shut down.
13 interface ShutdownClient { 13 SetRebootOnShutdown(bool reboot_on_shutdown);
14 // Requests that the system shuts down.
15 RequestShutdown();
16 }; 14 };
OLDNEW
« no previous file with comments | « ash/mus/manifest.json ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698