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

Unified Diff: mojo/shell/application_manager.cc

Issue 1419293003: Allow mojo_runner to connect to arbitrary executables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 2 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
« no previous file with comments | « mojo/runner/out_of_process_native_runner.cc ('k') | mojo/shell/native_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/application_manager.cc
diff --git a/mojo/shell/application_manager.cc b/mojo/shell/application_manager.cc
index 8f685e7865b356cf5903be4eb23326802cc208b6..6c6064d33c9f5b0da71ec2253fc292075ff55118 100644
--- a/mojo/shell/application_manager.cc
+++ b/mojo/shell/application_manager.cc
@@ -220,7 +220,7 @@ void ApplicationManager::RunNativeApplication(
TRACE_EVENT1("mojo_shell", "ApplicationManager::RunNativeApplication", "path",
path.AsUTF8Unsafe());
- NativeRunner* runner = native_runner_factory_->Create().release();
+ NativeRunner* runner = native_runner_factory_->Create(path).release();
native_runners_.push_back(runner);
runner->Start(path, start_sandboxed, application_request.Pass(),
base::Bind(&ApplicationManager::CleanupRunner,
« no previous file with comments | « mojo/runner/out_of_process_native_runner.cc ('k') | mojo/shell/native_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698