diff options
author | ben <ben@chromium.org> | 2016-03-07 21:17:48 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-08 05:19:18 +0000 |
commit | 9a8e15f6e8b9de90a8dff395a68ea6212226786f (patch) | |
tree | 0d52507eae83c18306610a7c59a28888f172ef39 /mojo/shell/background | |
parent | 8321be3ffa0a72ce42efea09c0a8ef303be66e20 (diff) | |
download | chromium_src-9a8e15f6e8b9de90a8dff395a68ea6212226786f.zip chromium_src-9a8e15f6e8b9de90a8dff395a68ea6212226786f.tar.gz chromium_src-9a8e15f6e8b9de90a8dff395a68ea6212226786f.tar.bz2 |
Add a instance groups to Connect(), and introduce an Identity struct.
BUG=
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Review URL: https://codereview.chromium.org/1769163002
Cr-Commit-Position: refs/heads/master@{#379757}
Diffstat (limited to 'mojo/shell/background')
-rw-r--r-- | mojo/shell/background/background_shell.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mojo/shell/background/background_shell.cc b/mojo/shell/background/background_shell.cc index 1d31de7..24ec075 100644 --- a/mojo/shell/background/background_shell.cc +++ b/mojo/shell/background/background_shell.cc @@ -178,7 +178,8 @@ void BackgroundShell::Init(scoped_ptr<InitParams> init_params) { mojom::ShellClientRequest BackgroundShell::CreateShellClientRequest( const std::string& name) { scoped_ptr<ConnectParams> params(new ConnectParams); - params->set_target(Identity(name, std::string(), mojom::kRootUserID)); + params->set_source(CreateShellIdentity()); + params->set_target(Identity(name, mojom::kRootUserID)); mojom::ShellClientRequest request; base::WaitableEvent signal(true, false); thread_->message_loop()->task_runner()->PostTask( |