| Index: mojo/shell/runner/host/child_process_host.cc
|
| diff --git a/mojo/shell/runner/host/child_process_host.cc b/mojo/shell/runner/host/child_process_host.cc
|
| index 1083128a8a6dd501b982e4b498fe84c8fdc0ce6a..f887dbd4adb9a321ab4ee724ed671b70bc92da68 100644
|
| --- a/mojo/shell/runner/host/child_process_host.cc
|
| +++ b/mojo/shell/runner/host/child_process_host.cc
|
| @@ -58,7 +58,7 @@ ChildProcessHost::~ChildProcessHost() {
|
| }
|
|
|
| mojom::ShellClientPtr ChildProcessHost::Start(
|
| - const String& name,
|
| + const Identity& target,
|
| const ProcessReadyCallback& callback,
|
| const base::Closure& quit_closure) {
|
| DCHECK(!child_process_.IsValid());
|
| @@ -77,6 +77,11 @@ mojom::ShellClientPtr ChildProcessHost::Start(
|
|
|
| child_command_line->AppendArguments(*parent_command_line, false);
|
|
|
| +#ifndef NDEBUG
|
| + child_command_line->AppendSwitchASCII("n", target.name());
|
| + child_command_line->AppendSwitchASCII("u", target.user_id());
|
| +#endif
|
| +
|
| if (target_path != app_path_)
|
| child_command_line->AppendSwitchPath(switches::kChildProcess, app_path_);
|
|
|
|
|