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

Unified Diff: mojo/shell/public/interfaces/shell.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.mojom
diff --git a/mojo/shell/public/interfaces/shell.mojom b/mojo/shell/public/interfaces/shell.mojom
index ed3cbd02a4096fc7faa4e157c47b2cfd72472b8d..11265a361a666fe32942cc77169da928a92a8b17 100644
--- a/mojo/shell/public/interfaces/shell.mojom
+++ b/mojo/shell/public/interfaces/shell.mojom
@@ -24,6 +24,8 @@ struct CapabilityFilter {
// system and request connections to other applications.
interface Shell {
const uint32 kInvalidApplicationID = 0;
+ const uint32 kUserRoot = 0;
+ const uint32 kUserInherit = 1;
// Establishes a connection with another application ("target application")
// (located at |url|) through which the calling application and the
@@ -53,6 +55,7 @@ interface Shell {
// application is permitted to connect to. See documentation for
// CapabilityFilter above.
Connect(string url,
+ uint32 user_id,
sky 2016/02/23 21:15:13 Document what user_id means and how it's used.
InterfaceProvider&? remote_interfaces,
InterfaceProvider? local_interfaces,
CapabilityFilter filter) => (uint32 application_id);

Powered by Google App Engine
This is Rietveld 408576698