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

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: 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/application.mojom
diff --git a/mojo/public/interfaces/application/application.mojom b/mojo/public/interfaces/application/application.mojom
index 4cf21108d0d6cfe8e45d218efd5ea8d89c1eaabf..70cc7ca3233b977cdcfb08506f717a89bfeb8875 100644
--- a/mojo/public/interfaces/application/application.mojom
+++ b/mojo/public/interfaces/application/application.mojom
@@ -12,5 +12,8 @@ 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().
+ AcceptConnection(string? requestor_url,
Aaron Boodman 2015/01/09 17:53:36 We should really remove the question mark. request
+ ServiceProvider&? services,
darin (slow to review) 2015/01/09 17:31:16 I'm a little confused by the use of & here. Usuall
Aaron Boodman 2015/01/09 17:53:35 These names are always confusing because they can
+ ServiceProvider? exported_services);
};

Powered by Google App Engine
This is Rietveld 408576698