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

Unified Diff: content/browser/child_process_launcher.cc

Issue 2706933003: webapk: Avoid overwriting default CreationParams
Patch Set: rebase 461342 Created 3 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 | « content/browser/child_process_launcher.h ('k') | content/browser/child_process_launcher_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/child_process_launcher.cc
diff --git a/content/browser/child_process_launcher.cc b/content/browser/child_process_launcher.cc
index 03375d59760bd5a2ab3bc4b07566222cbe85dfb8..648c0fecda76929b632f266725fa8a30c789b1c2 100644
--- a/content/browser/child_process_launcher.cc
+++ b/content/browser/child_process_launcher.cc
@@ -25,7 +25,8 @@ ChildProcessLauncher::ChildProcessLauncher(
Client* client,
std::unique_ptr<mojo::edk::PendingProcessConnection> pending_connection,
const mojo::edk::ProcessErrorCallback& process_error_callback,
- bool terminate_on_shutdown)
+ bool terminate_on_shutdown,
+ int param_id)
: client_(client),
termination_status_(base::TERMINATION_STATUS_NORMAL_TERMINATION),
exit_code_(RESULT_CODE_NORMAL_EXIT),
@@ -44,9 +45,9 @@ ChildProcessLauncher::ChildProcessLauncher(
CHECK(BrowserThread::GetCurrentThreadIdentifier(&client_thread_id_));
helper_ = new ChildProcessLauncherHelper(
- child_process_id, client_thread_id_,
- std::move(command_line), std::move(delegate),
- weak_factory_.GetWeakPtr(), terminate_on_shutdown);
+ child_process_id, client_thread_id_, std::move(command_line),
+ std::move(delegate), weak_factory_.GetWeakPtr(), terminate_on_shutdown,
+ param_id);
helper_->StartLaunchOnClientThread();
}
« no previous file with comments | « content/browser/child_process_launcher.h ('k') | content/browser/child_process_launcher_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698