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

Unified Diff: mojo/public/interfaces/application/application.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/cpp/application/lib/service_registry.cc ('k') | mojo/public/interfaces/application/shell.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/interfaces/application/application.mojom
diff --git a/mojo/public/interfaces/application/application.mojom b/mojo/public/interfaces/application/application.mojom
index 4cf21108d0d6cfe8e45d218efd5ea8d89c1eaabf..d389ae2dd15ab45c1f7a6289f19fdca46af2d234 100644
--- a/mojo/public/interfaces/application/application.mojom
+++ b/mojo/public/interfaces/application/application.mojom
@@ -12,5 +12,13 @@ interface Application {
// Initialize is guaranteed to be called before any AcceptConnection calls.
Initialize(array<string>? args);
- AcceptConnection(string? requestor_url, ServiceProvider? provider);
+ // Called in response to a call to mojo.Shell.ConnectToApplication().
+ // The |services| and |exposed_services| parameters are the same as those on
+ // mojo.Shell.ConnectToApplication().
+ // |services| will be used to look up services provided by this application.
+ // |exposed_services| can be used to look up services exposed by the
+ // application at |requestor_url|.
+ AcceptConnection(string requestor_url,
+ ServiceProvider&? services,
+ ServiceProvider? exposed_services);
};
« no previous file with comments | « mojo/public/cpp/application/lib/service_registry.cc ('k') | mojo/public/interfaces/application/shell.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698