Index: base/process_util_linux.cc |
diff --git a/base/process_util_linux.cc b/base/process_util_linux.cc |
index ba2d8cddc0c58f5c2ba0da8d6234245d3644b0a7..756025758267481d81ceabcad510c62e06f68fcc 100644 |
--- a/base/process_util_linux.cc |
+++ b/base/process_util_linux.cc |
@@ -17,7 +17,6 @@ |
#include "base/logging.h" |
#include "base/string_tokenizer.h" |
#include "base/string_util.h" |
-#include "base/zygote_manager.h" |
namespace { |
@@ -86,22 +85,6 @@ FilePath GetProcessExecutablePath(ProcessHandle process) { |
return FilePath(std::string(exename, len)); |
} |
-bool ForkApp(const std::vector<std::string>& argv, |
- const file_handle_mapping_vector& fds_to_remap, |
- ProcessHandle* process_handle) { |
- ZygoteManager* zm = ZygoteManager::Get(); |
- if (!zm) |
- return LaunchApp(argv, fds_to_remap, false, process_handle); |
- |
- pid_t pid = zm->LongFork(argv, fds_to_remap); |
- if (pid < 0) |
- return false; |
- |
- if (process_handle) |
- *process_handle = pid; |
- return true; |
-} |
- |
bool LaunchApp(const std::vector<std::string>& argv, |
const file_handle_mapping_vector& fds_to_remap, |
bool wait, ProcessHandle* process_handle) { |