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

Unified Diff: shell/out_of_process_native_runner.cc

Issue 1046013002: Split LoadAndRunNativeApplication() ... (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: doh Created 5 years, 9 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 | « shell/out_of_process_native_runner.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/out_of_process_native_runner.cc
diff --git a/shell/out_of_process_native_runner.cc b/shell/out_of_process_native_runner.cc
index d8f824a7b572c0ab7ebed037d6cb15a08bf6a486..5fd2117a9c080f9782c5ad6ffd2be899d63144b6 100644
--- a/shell/out_of_process_native_runner.cc
+++ b/shell/out_of_process_native_runner.cc
@@ -31,7 +31,7 @@ OutOfProcessNativeRunner::~OutOfProcessNativeRunner() {
void OutOfProcessNativeRunner::Start(
const base::FilePath& app_path,
- NativeRunner::CleanupBehavior cleanup_behavior,
+ NativeApplicationCleanup cleanup,
InterfaceRequest<Application> application_request,
const base::Closure& app_completed_callback) {
app_path_ = app_path;
@@ -44,7 +44,7 @@ void OutOfProcessNativeRunner::Start(
// TODO(vtl): |app_path.AsUTF8Unsafe()| is unsafe.
app_child_process_host_->StartApp(
- app_path.AsUTF8Unsafe(), cleanup_behavior == DeleteAppPath,
+ app_path.AsUTF8Unsafe(), cleanup == NativeApplicationCleanup::DELETE,
application_request.Pass(),
base::Bind(&OutOfProcessNativeRunner::AppCompleted,
base::Unretained(this)));
« no previous file with comments | « shell/out_of_process_native_runner.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698