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

Unified 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: use nullptr instead of ServiceProviderPtr(), fix ShellImpl 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/interfaces/application/application.mojom ('k') | mojo/services/public/js/application.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/interfaces/application/shell.mojom
diff --git a/mojo/public/interfaces/application/shell.mojom b/mojo/public/interfaces/application/shell.mojom
index 3cc90fc810cc90a55f8f749ad613d583a7b93aeb..1adf1e67e4b78aa1a0d3ea16fb2c330d584f4101 100644
--- a/mojo/public/interfaces/application/shell.mojom
+++ b/mojo/public/interfaces/application/shell.mojom
@@ -11,7 +11,11 @@ import "mojo/public/interfaces/application/service_provider.mojom";
// it's Shell interface to connect to other Applications.
[Client=Application]
interface Shell {
- // Loads url. mojo:{service} will result in the user of the value of the
+ // Loads |application_url|. mojo:{service} will result in the user of the value of the
// --origin flag to the shell being used.
- ConnectToApplication(string? application_url, ServiceProvider&? provider);
+ // |services| can be used to look up services provided by the application at |application_url|.
+ // |exposed_services| can be used to expose services to the application at |application_url|.
+ ConnectToApplication(string application_url,
+ ServiceProvider&? services,
+ ServiceProvider? exposed_services);
};
« no previous file with comments | « mojo/public/interfaces/application/application.mojom ('k') | mojo/services/public/js/application.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698