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

Unified Diff: mojo/shell/application_manager.cc

Issue 1722743002: Adds ability for chrome to behave as mojo_runner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge to tip of tree Created 4 years, 10 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
Index: mojo/shell/application_manager.cc
diff --git a/mojo/shell/application_manager.cc b/mojo/shell/application_manager.cc
index 1ff590134629a06d24f39b77eebb377c7a10e412..0ed616002feddf295972fdc456886eb9c728223f 100644
--- a/mojo/shell/application_manager.cc
+++ b/mojo/shell/application_manager.cc
@@ -338,7 +338,7 @@ void ApplicationManager::OnGotResolvedURL(
bool start_sandboxed = false;
base::FilePath path = util::UrlToFilePath(file_url.To<GURL>());
scoped_ptr<NativeRunner> runner = native_runner_factory_->Create(path);
- runner->Start(path, start_sandboxed, std::move(request),
+ runner->Start(path, target, start_sandboxed, std::move(request),
base::Bind(&ApplicationManager::ApplicationPIDAvailable,
weak_ptr_factory_.GetWeakPtr(), instance->id()),
base::Bind(&ApplicationManager::CleanupRunner,

Powered by Google App Engine
This is Rietveld 408576698