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

Unified Diff: services/service_manager/public/interfaces/service_control.mojom

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 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
Index: services/service_manager/public/interfaces/service_control.mojom
diff --git a/services/service_manager/public/interfaces/service_control.mojom b/services/service_manager/public/interfaces/service_control.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..f80b81c17b98984309cb177839ecbc27fc407f7a
--- /dev/null
+++ b/services/service_manager/public/interfaces/service_control.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 service_manager.mojom;
+
+// The client interface a Service uses to issue requests to the Service Manager.
+interface ServiceControl {
+ // Informs the Service Manager that the Service is ready to terminate. If
+ // the Service Manager needs the Service to stay alive - for example, if
+ // there's an in-flight OnConnect request which hasn't been acked yet - this
+ // request is ignored. Otherwise the Service pipe will soon be severed by
+ // the Service Manager, signaling that shutdown may proceed at the service's
+ // own discretion.
+ RequestQuit();
+};
« no previous file with comments | « services/service_manager/public/interfaces/service.mojom ('k') | services/service_manager/service_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698