summaryrefslogtreecommitdiffstats
path: root/mojo/shell/public
diff options
context:
space:
mode:
authorben <ben@chromium.org>2016-03-04 13:50:17 -0800
committerCommit bot <commit-bot@chromium.org>2016-03-04 21:52:09 +0000
commit1fb948d6a6b3e06e43fbd6bc8b5b772969797752 (patch)
tree557b40baddeda19f97122f04fdec845866292433 /mojo/shell/public
parent4446423513e9f2da52e156bc93b5228e6a3d6e08 (diff)
downloadchromium_src-1fb948d6a6b3e06e43fbd6bc8b5b772969797752.zip
chromium_src-1fb948d6a6b3e06e43fbd6bc8b5b772969797752.tar.gz
chromium_src-1fb948d6a6b3e06e43fbd6bc8b5b772969797752.tar.bz2
Add exe lifecycle test using CreateInstanceForHandle.
Validates cleanup after calling Process::Terminate() R=sky@chromium.org BUG= Review URL: https://codereview.chromium.org/1760963003 Cr-Commit-Position: refs/heads/master@{#379368}
Diffstat (limited to 'mojo/shell/public')
-rw-r--r--mojo/shell/public/interfaces/application_manager.mojom5
1 files changed, 4 insertions, 1 deletions
diff --git a/mojo/shell/public/interfaces/application_manager.mojom b/mojo/shell/public/interfaces/application_manager.mojom
index c0a681e..346d0c2 100644
--- a/mojo/shell/public/interfaces/application_manager.mojom
+++ b/mojo/shell/public/interfaces/application_manager.mojom
@@ -48,9 +48,12 @@ interface PIDReceiver {
interface ApplicationManager {
// Instructs the ApplicationManager to create an instance for an existing
// process at the other end of |factory|, and perform applicable
- // initialization.
+ // initialization. |user_id| is the user the instance should be created as.
+ // This is typically set to Connector::kUserInherit, unless the application
+ // has the ability to connect as other users.
CreateInstanceForFactory(ShellClientFactory factory,
string name,
+ uint32 user_id,
CapabilityFilter filter,
PIDReceiver& pid_receiver);