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(); |
+}; |