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

Unified Diff: mojo/runner/child_process_host.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/child_process_host.h ('k') | mojo/runner/child_process_host_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/child_process_host.cc
diff --git a/mojo/runner/child_process_host.cc b/mojo/runner/child_process_host.cc
index 1cf288c4ebcdade9db0c95794295ba526a744fe2..f5fe0f54f22308a033c32d1bd81fb610e3a6cbe0 100644
--- a/mojo/runner/child_process_host.cc
+++ b/mojo/runner/child_process_host.cc
@@ -31,12 +31,10 @@ namespace runner {
ChildProcessHost::ChildProcessHost(Context* context,
bool start_sandboxed,
- const base::FilePath& app_path,
- bool clean_app_path)
+ const base::FilePath& app_path)
: context_(context),
start_sandboxed_(start_sandboxed),
app_path_(app_path),
- clean_app_path_(clean_app_path),
channel_info_(nullptr) {
platform_channel_ = platform_channel_pair_.PassServerHandle();
CHECK(platform_channel_.is_valid());
@@ -109,9 +107,6 @@ bool ChildProcessHost::DoLaunch() {
child_command_line.AppendArguments(*parent_command_line, false);
child_command_line.AppendSwitchPath(switches::kChildProcess, app_path_);
- if (clean_app_path_)
- child_command_line.AppendSwitch(switches::kDeleteAfterLoad);
-
if (start_sandboxed_)
child_command_line.AppendSwitch(switches::kEnableSandbox);
« no previous file with comments | « mojo/runner/child_process_host.h ('k') | mojo/runner/child_process_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698