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

Unified Diff: mojo/runner/child_process.cc

Issue 1344933002: Clean up some unused methods from ApplicationManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 3 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/android/run_android_application_function.h ('k') | mojo/runner/child_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/child_process.cc
diff --git a/mojo/runner/child_process.cc b/mojo/runner/child_process.cc
index 8c62fdb7e5edbb51a11d77ff154cfa785ada4726..dc9b59f2a77cbfe5ac52fe6c376847fef41178f5 100644
--- a/mojo/runner/child_process.cc
+++ b/mojo/runner/child_process.cc
@@ -288,12 +288,8 @@ int ChildProcessMain() {
base::NativeLibrary app_library = 0;
if (command_line.HasSwitch(switches::kChildProcess)) {
// Load the application library before we engage the sandbox.
- mojo::shell::NativeApplicationCleanup cleanup =
- command_line.HasSwitch(switches::kDeleteAfterLoad)
- ? mojo::shell::NativeApplicationCleanup::DELETE
- : mojo::shell::NativeApplicationCleanup::DONT_DELETE;
app_library = mojo::runner::LoadNativeApplication(
- command_line.GetSwitchValuePath(switches::kChildProcess), cleanup);
+ command_line.GetSwitchValuePath(switches::kChildProcess));
#if defined(OS_LINUX) && !defined(OS_ANDROID)
if (command_line.HasSwitch(switches::kEnableSandbox)) {
« no previous file with comments | « mojo/runner/android/run_android_application_function.h ('k') | mojo/runner/child_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698