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

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

Issue 1578473002: Pass application ids via AcceptConnection & ConnectToApplication callback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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/shell/public/cpp/lib/service_registry.cc ('k') | mojo/shell/public/interfaces/shell.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/public/interfaces/application.mojom
diff --git a/mojo/shell/public/interfaces/application.mojom b/mojo/shell/public/interfaces/application.mojom
index f0a872441fce21c30c15c9ba13417ab16ebcc46f..49d90701f23a4f3b7eebfeacf28088ee7b9dca09 100644
--- a/mojo/shell/public/interfaces/application.mojom
+++ b/mojo/shell/public/interfaces/application.mojom
@@ -23,7 +23,7 @@ interface Application {
// mappings, resolution, and redirects. And it will not include the
// querystring, since the querystring is not part of an application's
// identity.
- Initialize(Shell shell, string url);
+ Initialize(Shell shell, string url, uint32 id);
sky 2016/01/12 20:57:44 nit: document what |id| is.
// Called when another application (identified by |requestor_url|) attempts to
// open a connection to this application.
@@ -58,6 +58,7 @@ interface Application {
// querystring that was part of the request.
//
AcceptConnection(string requestor_url,
+ uint32 requestor_id,
ServiceProvider&? services,
ServiceProvider? exposed_services,
array<string> allowed_interfaces,
« no previous file with comments | « mojo/shell/public/cpp/lib/service_registry.cc ('k') | mojo/shell/public/interfaces/shell.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698