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

Unified Diff: third_party/mojo/src/mojo/public/interfaces/application/shell.mojom

Issue 1139123006: Fork the mojo shell interfaces used by Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years, 7 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: third_party/mojo/src/mojo/public/interfaces/application/shell.mojom
diff --git a/third_party/mojo/src/mojo/public/interfaces/application/shell.mojom b/third_party/mojo/src/mojo/public/interfaces/application/shell.mojom
deleted file mode 100644
index 523e2637bd787e75185f5d0df39a839be139b290..0000000000000000000000000000000000000000
--- a/third_party/mojo/src/mojo/public/interfaces/application/shell.mojom
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2014 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;
-
-import "mojo/public/interfaces/application/service_provider.mojom";
-
-// An interface through which a Mojo application may communicate with the Mojo
-// system and request connections to other applications.
-interface Shell {
- // Establishes a connection with another application (located at
- // |application_url|) through which the calling application and the other
- // application may request services from one another.
- //
- // If the calling application would like to request services from the other
- // application, it should pass a valid interface request in the |services|
- // parameter (i.e. one containing a valid message pipe endpoint). If the other
- // application does not wish to offer services, it may either not bind an
- // implementation to the interface request, or else bind an implementation
- // that will reject some or all service requests.
- //
- // If the calling application would like to offer services to the other
- // application, it should pass a bound interface through the
- // |exposed_services| parameter. The other application may then request
- // services through that interface.
- //
- // At least one of |services| or |exposed_services| should be valid/bound in
- // the call.
- //
- // If the |application_url| does not contain a domain, but is of the form
- // "mojo:{service}", it is up to the Mojo shell to select an appropriate
- // application for the service. Currently, the shell does this based on the
- // value of its --origin flag.
- ConnectToApplication(string application_url,
- ServiceProvider&? services,
- ServiceProvider? exposed_services);
-};

Powered by Google App Engine
This is Rietveld 408576698