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

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

Issue 1736663003: Eliminate Quit() from Shell, and roll Shell & Connector together. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@14cf
Patch Set: . Created 4 years, 10 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 | « mojo/shell/public/cpp/shell_connection.h ('k') | mojo/shell/public/interfaces/shell_client.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/public/interfaces/shell.mojom
diff --git a/mojo/shell/public/interfaces/shell.mojom b/mojo/shell/public/interfaces/shell.mojom
index 1eaa9a338083ccca2722e0b62a97ecf7903a09bc..242f89a0f8f8e91e0d1e9f9d74f0b2e79eded34a 100644
--- a/mojo/shell/public/interfaces/shell.mojom
+++ b/mojo/shell/public/interfaces/shell.mojom
@@ -81,21 +81,3 @@ interface Connector {
// Clones this Connector so it can be passed to another thread.
Clone(Connector& request);
};
-
-// Wraps functionality exposed by the Shell to a Mojo application instance.
-interface Shell {
- // Obtain a Connector that can be used to create connections with other
- // applications. The connector is bound in the shell to the instance that
- // vended this Shell interface, all connectors created and cloned frmo this
- // one are bound to the lifetime of this instance.
- GetConnector(Connector& connector);
-
- // When there are no more instantiated services in an application, it should
- // start its shutdown process by calling this method. Additionally, it should
- // keep track of any new service requests that come in. The shell will then
- // call Application::OnQuitRequested and start queueing new service requests.
- // If the application didn't get any new service requests in the meantime, it
- // should call the callback with a true value. Otherwise it should call it
- // with false.
- QuitApplication();
-};
« no previous file with comments | « mojo/shell/public/cpp/shell_connection.h ('k') | mojo/shell/public/interfaces/shell_client.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698