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

Side by Side Diff: mojo/public/interfaces/service_provider/service_provider.mojom

Issue 423613002: Mojo: split up service_provider.mojom (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « mojo/public/interfaces/service_provider/BUILD.gn ('k') | mojo/service_manager/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Quick definitions:
6 // The Shell is the finder and launcher of Applications.
7 // Applications vend Services through the ServiceProvider interface.
8 // Services implement Interfaces.
9 // An Application uses it's Shell interface to connect to other Applications.
10 module mojo {
11
12 [Client=ServiceProvider]
13 interface ServiceProvider {
14 // Loads url. mojo:{service} will result in the the value of the
15 // --origin flag to the shell being used.
16 ConnectToService(string interface_name, handle<message_pipe> client_handle);
17 };
18
19 // TODO(davemore): Break Application & Shell into their own files.
20 [Client=Application]
21 interface Shell {
22 // Loads url. mojo:{service} will result in the user of the value of the
23 // --origin flag to the shell being used.
24 ConnectToApplication(string application_url, ServiceProvider& provider);
25 };
26
27 [Client=Shell]
28 interface Application {
29 AcceptConnection(string requestor_url, ServiceProvider provider);
30 };
31
32 }
OLDNEW
« no previous file with comments | « mojo/public/interfaces/service_provider/BUILD.gn ('k') | mojo/service_manager/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698