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