Index: mojo/shell/public/interfaces/shell.mojom |
diff --git a/mojo/shell/public/interfaces/shell.mojom b/mojo/shell/public/interfaces/shell.mojom |
deleted file mode 100644 |
index 04dcd1df03fba785d51a0f4eefa7e25a8849aa31..0000000000000000000000000000000000000000 |
--- a/mojo/shell/public/interfaces/shell.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 mojo.shell.mojom; |
- |
-import "mojo/shell/public/interfaces/connector.mojom"; |
- |
-struct InstanceInfo { |
- uint32 id; |
- Identity identity; |
- uint32 pid; |
-}; |
- |
-// Implemented by a client that wishes to be informed when the list of running |
-// instances changes. |
-interface InstanceListener { |
- // Called once when the listener is added via Shell::AddInstanceListener() to |
- // provide the initial list of instances that the listener observes changes |
- // against. |
- SetExistingInstances(array<InstanceInfo> instances); |
- |
- // Called when the shell has started tracking an instance. This happens when |
- // the shell first handles a request to launch the instance, before any |
- // process is created for it. |
- InstanceCreated(InstanceInfo instance); |
- |
- // Called when the shell has stopped tracking an instance. (i.e. when it has |
- // ended/quit). |
- InstanceDestroyed(uint32 id); |
- |
- // Called when a pid is available for the instance. This could be because a |
- // process was created by the runner for it, or because an existing content |
- // handler process was assigned. |
- InstancePIDAvailable(uint32 id, uint32 pid); |
-}; |
- |
-interface Shell { |
- // The listener is removed when the |listener| pipe is closed. |
- AddInstanceListener(InstanceListener listener); |
-}; |