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

Unified Diff: mojo/shell/shell.mojom

Issue 93793009: Implement ServiceManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Allow Android to be built Created 7 years 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/service_manager.cc ('k') | mojo/shell/switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/shell.mojom
diff --git a/mojo/shell/shell.mojom b/mojo/shell/shell.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..65fc790e9c15e07139124fc911716a410d54e1de
--- /dev/null
+++ b/mojo/shell/shell.mojom
@@ -0,0 +1,19 @@
+// Copyright 2013 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 {
+
+[Peer=ShellClient]
+interface Shell {
+ // Loads url. mojo:{service} will result in the user of the value of the
+ // --origin flag to the shell being used.
+ void Connect(string url, handle<message_pipe> client_handle);
+};
+
+[Peer=Shell]
+interface ShellClient {
+ void AcceptConnection(handle<message_pipe> client_handle);
+};
+
+}
« no previous file with comments | « mojo/shell/service_manager.cc ('k') | mojo/shell/switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698