| Index: mojo/shell/runner/host/in_process_native_runner.cc
|
| diff --git a/mojo/shell/runner/host/in_process_native_runner.cc b/mojo/shell/runner/host/in_process_native_runner.cc
|
| index 69738a69b6baebc56e2371180937159480c89348..9dd19d0edf39217553530cc669c031872b577919 100644
|
| --- a/mojo/shell/runner/host/in_process_native_runner.cc
|
| +++ b/mojo/shell/runner/host/in_process_native_runner.cc
|
| @@ -12,7 +12,6 @@
|
| #include "base/task_runner.h"
|
| #include "base/thread_task_runner_handle.h"
|
| #include "base/threading/platform_thread.h"
|
| -#include "mojo/shell/runner/host/command_line_switch.h"
|
| #include "mojo/shell/runner/host/native_application_support.h"
|
| #include "mojo/shell/runner/host/out_of_process_native_runner.h"
|
| #include "mojo/shell/runner/init.h"
|
| @@ -35,6 +34,7 @@ InProcessNativeRunner::~InProcessNativeRunner() {
|
|
|
| void InProcessNativeRunner::Start(
|
| const base::FilePath& app_path,
|
| + const Identity& target,
|
| bool start_sandboxed,
|
| InterfaceRequest<mojom::ShellClient> request,
|
| const base::Callback<void(base::ProcessId)>& pid_available_callback,
|
| @@ -83,8 +83,8 @@ scoped_ptr<NativeRunner> InProcessNativeRunnerFactory::Create(
|
| const base::FilePath& app_path) {
|
| // Non-Mojo apps are always run in a new process.
|
| if (!app_path.MatchesExtension(FILE_PATH_LITERAL(".mojo"))) {
|
| - return make_scoped_ptr(new OutOfProcessNativeRunner(
|
| - launch_process_runner_, std::vector<CommandLineSwitch>()));
|
| + return make_scoped_ptr(
|
| + new OutOfProcessNativeRunner(launch_process_runner_, nullptr));
|
| }
|
| return make_scoped_ptr(new InProcessNativeRunner);
|
| }
|
|
|