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

Unified Diff: ash/public/interfaces/shutdown.mojom

Issue 2471643002: mash: remove the LockStateControllerDelegate. (Closed)
Patch Set: sky comments 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
« no previous file with comments | « ash/public/interfaces/BUILD.gn ('k') | ash/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/public/interfaces/shutdown.mojom
diff --git a/ash/public/interfaces/shutdown.mojom b/ash/public/interfaces/shutdown.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..e0060fb039461f7609b7c5550a3bda03675ccdc5
--- /dev/null
+++ b/ash/public/interfaces/shutdown.mojom
@@ -0,0 +1,16 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+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();
+};
« no previous file with comments | « ash/public/interfaces/BUILD.gn ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698