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

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

Issue 1719193003: Add a user id parameter to connections (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 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/shell/public/interfaces/shell_client.mojom
diff --git a/mojo/shell/public/interfaces/shell_client.mojom b/mojo/shell/public/interfaces/shell_client.mojom
index af0fcb6c8250463dadf8bb14ac16c3256862da3e..dfc34b0c3a43d80b4cfcb3d2ced39f7369949c23 100644
--- a/mojo/shell/public/interfaces/shell_client.mojom
+++ b/mojo/shell/public/interfaces/shell_client.mojom
@@ -28,7 +28,7 @@ interface ShellClient {
// The |id| parameter is the identifier of the instance in the
// ApplicationManager. It can be passed to other shell interfaces that request
// an instance identifier.
- Initialize(Shell shell, string url, uint32 id);
+ Initialize(Shell shell, string url, uint32 id, uint32 user_id);
sky 2016/02/23 21:15:13 Please add more comments as to what the ids mean.
// Called when another application (identified by |requestor_url|) attempts to
// open a connection to this application.
@@ -64,6 +64,7 @@ interface ShellClient {
//
AcceptConnection(string requestor_url,
uint32 requestor_id,
+ uint32 requestor_user_id,
InterfaceProvider&? local_interfaces,
InterfaceProvider? remote_interfaces,
array<string> allowed_interfaces,

Powered by Google App Engine
This is Rietveld 408576698