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

Side by Side Diff: mojo/public/interfaces/application/shell.mojom

Issue 845593003: Pass ServiceProvider and ServiceProvider& params in Connect (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: services & exposed_services Created 5 years, 11 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module mojo; 5 module mojo;
6 6
7 import "mojo/public/interfaces/application/application.mojom"; 7 import "mojo/public/interfaces/application/application.mojom";
8 import "mojo/public/interfaces/application/service_provider.mojom"; 8 import "mojo/public/interfaces/application/service_provider.mojom";
9 9
10 // The Shell is the finder and launcher of Applications. An Application uses 10 // The Shell is the finder and launcher of Applications. An Application uses
11 // it's Shell interface to connect to other Applications. 11 // it's Shell interface to connect to other Applications.
12 [Client=Application] 12 [Client=Application]
13 interface Shell { 13 interface Shell {
14 // Loads url. mojo:{service} will result in the user of the value of the 14 // Loads |application_url|. mojo:{service} will result in the user of the valu e of the
15 // --origin flag to the shell being used. 15 // --origin flag to the shell being used.
16 ConnectToApplication(string? application_url, ServiceProvider&? provider); 16 // |services| can be used to look up services provided by the application at | application_url|.
17 // |exposed_services| can be used to expose services to the application at |ap plication_url|.
18 ConnectToApplication(string? application_url,
19 ServiceProvider&? services,
20 ServiceProvider? exposed_services);
17 }; 21 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698