Index: net/test/python_utils.cc |
diff --git a/net/test/python_utils.cc b/net/test/python_utils.cc |
index 30c5f679a8adeed79b2d28d2232f4ad9478ff613..8c0585605551b98fe87f210cf0d747de80078884 100644 |
--- a/net/test/python_utils.cc |
+++ b/net/test/python_utils.cc |
@@ -107,15 +107,7 @@ bool GetPyProtoPath(base::FilePath* dir) { |
bool GetPythonCommand(CommandLine* python_cmd) { |
DCHECK(python_cmd); |
base::FilePath dir; |
-#if defined(OS_WIN) |
- if (!PathService::Get(base::DIR_SOURCE_ROOT, &dir)) |
- return false; |
- dir = dir.Append(FILE_PATH_LITERAL("third_party")) |
- .Append(FILE_PATH_LITERAL("python_26")) |
- .Append(FILE_PATH_LITERAL("python.exe")); |
-#elif defined(OS_POSIX) |
- dir = base::FilePath("python"); |
-#endif |
+ dir = base::FilePath(FILE_PATH_LITERAL("python")); |
python_cmd->SetProgram(dir); |
Paweł Hajdan Jr.
2013/08/19 19:16:56
nit: If it fits, just put FILE_PATH_LITERAL("pytho
|