diff options
Diffstat (limited to 'base/multiprocess_test.h')
-rw-r--r-- | base/multiprocess_test.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/base/multiprocess_test.h b/base/multiprocess_test.h index a9c67d5..4cd5785 100644 --- a/base/multiprocess_test.h +++ b/base/multiprocess_test.h @@ -61,11 +61,20 @@ class MultiProcessTest : public PlatformTest { // TODO(darin): re-enable this once we have base/debug_util.h // ProcessDebugFlags(&cl, DebugUtil::UNKNOWN, false); base::ProcessHandle SpawnChild(const std::wstring& procname) { - return SpawnChild(procname, false); + base::file_handle_mapping_vector empty_file_list; + return SpawnChild(procname, empty_file_list, false); } base::ProcessHandle SpawnChild(const std::wstring& procname, bool debug_on_start) { + base::file_handle_mapping_vector empty_file_list; + return SpawnChild(procname, empty_file_list, false); + } + + base::ProcessHandle SpawnChild( + const std::wstring& procname, + const base::file_handle_mapping_vector& fds_to_map, + bool debug_on_start) { CommandLine cl; base::ProcessHandle handle = static_cast<base::ProcessHandle>(NULL); @@ -89,7 +98,7 @@ class MultiProcessTest : public PlatformTest { std::string switchstr = WideToUTF8(wswitchstr); clvec.push_back(switchstr.c_str()); - base::LaunchApp(clvec, false, &handle); + base::LaunchApp(clvec, fds_to_map, false, &handle); #endif return handle; |