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

Unified Diff: net/test/spawned_test_server/local_test_server_win.cc

Issue 2950153002: Improve process launch handle sharing API. (Closed)
Patch Set: Fix Mojo launcher, review comments Created 3 years, 5 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: net/test/spawned_test_server/local_test_server_win.cc
diff --git a/net/test/spawned_test_server/local_test_server_win.cc b/net/test/spawned_test_server/local_test_server_win.cc
index 65d554eba25e021cf2fe74817b78b3d90c86e8f5..24afc4eefc7ae7f76f13103bc1e9d28bbdb89554 100644
--- a/net/test/spawned_test_server/local_test_server_win.cc
+++ b/net/test/spawned_test_server/local_test_server_win.cc
@@ -125,7 +125,7 @@ bool LocalTestServer::LaunchPython(const base::FilePath& testserver_path) {
base::IntToString(reinterpret_cast<uintptr_t>(child_write)));
base::LaunchOptions launch_options;
- launch_options.inherit_handles = true;
+ launch_options.inherit_mode = base::LaunchOptions::Inherit::kAll;
jschuh 2017/07/24 19:41:27 Leave a TODO here.
process_ = base::LaunchProcess(python_command, launch_options);
if (!process_.IsValid()) {
LOG(ERROR) << "Failed to launch " << python_command.GetCommandLineString();

Powered by Google App Engine
This is Rietveld 408576698