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

Unified Diff: mojo/public/interfaces/application/application.mojom

Issue 568173003: Add Initialize() method to Application with ability to send args using (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review nit Created 6 years, 3 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 35ed34c25762311db1372f043385ddf553dbd9a7..212948c8a537e158aa48cdb459c5b51a3699ca98 100644
--- a/mojo/public/interfaces/application/application.mojom
+++ b/mojo/public/interfaces/application/application.mojom
@@ -10,6 +10,9 @@ module mojo {
// implement Interfaces.
[Client=Shell]
interface Application {
+ // Initialize is guaranteed to be called before any AcceptConnection calls.
+ Initialize(string[] args);
viettrungluu 2014/09/15 17:26:19 I'd make this optional/nullable.
DaveMoore 2014/09/15 22:35:08 Done.
+
AcceptConnection(string? requestor_url, ServiceProvider? provider);
};

Powered by Google App Engine
This is Rietveld 408576698