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

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

Issue 74253002: Stop using third_party\python_26 for many tests. (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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 08d68f80bf23beabd2ea200bcaee67d007a3d6db..db0674283486e1c4a2684ee9a7a76cebd797b8e9 100644
--- a/net/test/spawned_test_server/local_test_server_win.cc
+++ b/net/test/spawned_test_server/local_test_server_win.cc
@@ -190,15 +190,6 @@ bool LocalTestServer::LaunchPython(const base::FilePath& testserver_path) {
return false;
}
- // Add our internal python to the path so it can be used if there is
- // no system python.
- base::FilePath python_dir;
- if (!PathService::Get(base::DIR_SOURCE_ROOT, &python_dir)) {
- LOG(ERROR) << "Could not locate source root directory.";
- return false;
- }
- python_dir = python_dir.AppendASCII("third_party").AppendASCII("python_26");
- ScopedPath python_path(python_dir);
Paweł Hajdan Jr. 2013/11/15 19:34:44 Yay, looks like now we no longer need ScopedPath.
base::LaunchOptions launch_options;
launch_options.inherit_handles = true;
launch_options.job_handle = job_handle_.Get();

Powered by Google App Engine
This is Rietveld 408576698