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

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

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 months 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 | « services/shell/public/interfaces/service_factory.mojom ('k') | services/shell/public/java/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/public/interfaces/service_manager.mojom
diff --git a/services/shell/public/interfaces/service_manager.mojom b/services/shell/public/interfaces/service_manager.mojom
deleted file mode 100644
index 508c9db9ed0c876a4d66aa4e9c46232ad7b51003..0000000000000000000000000000000000000000
--- a/services/shell/public/interfaces/service_manager.mojom
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2015 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 shell.mojom;
-
-import "services/shell/public/interfaces/connector.mojom";
-
-struct ServiceInfo {
- uint32 id;
- Identity identity;
- uint32 pid;
-};
-
-// Implemented by a client that wishes to be informed when the list of running
-// services changes.
-interface ServiceManagerListener {
- // Called once when the listener is added via
- // ServiceManager::AddInstanceListener() to provide the initial list of
- // services that the listener observes changes against.
- OnInit(array<ServiceInfo> running_services);
-
- // Called when the Service Manager has started tracking a Service. This
- // happens when the Service Manager first handles a request to launch the
- // Service, before a process is created for it.
- OnServiceCreated(ServiceInfo service);
-
- // Called when a pid is available for the service. This could be because the
- // Service Manager created a process for it, or because an existing one was
- // assigned to it.
- OnServiceStarted(Identity identity, uint32 pid);
-
- // Called when the Service Manager has stopped tracking a service. (i.e. when
- // it has ended/quit).
- OnServiceStopped(Identity identity);
-};
-
-interface ServiceManager {
- // The listener is removed when the |listener| pipe is closed.
- AddListener(ServiceManagerListener listener);
-};
« no previous file with comments | « services/shell/public/interfaces/service_factory.mojom ('k') | services/shell/public/java/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698