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

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: 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 side-by-side diff with in-line comments
Download patch
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..1e27cf6f758e56db3a0b8cab3656b277011c8749 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);
};

Powered by Google App Engine
This is Rietveld 408576698