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

Unified Diff: mojo/shell/public/interfaces/shell.mojom

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . Created 4 years, 8 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
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);
-};
« no previous file with comments | « mojo/shell/public/interfaces/interface_provider.mojom ('k') | mojo/shell/public/interfaces/shell_client.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698