summaryrefslogtreecommitdiffstats
path: root/base/multiprocess_test.h
diff options
context:
space:
mode:
authorojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-17 20:27:03 +0000
committerojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-17 20:27:03 +0000
commitc51e0690737d3d1269cc3aa666792ab4fb0e60c0 (patch)
treebac4be4b92f22e967630eee0d579d03ae3e70879 /base/multiprocess_test.h
parent10ebfce032159d84651d15206ec09a306f3463d8 (diff)
downloadchromium_src-c51e0690737d3d1269cc3aa666792ab4fb0e60c0.zip
chromium_src-c51e0690737d3d1269cc3aa666792ab4fb0e60c0.tar.gz
chromium_src-c51e0690737d3d1269cc3aa666792ab4fb0e60c0.tar.bz2
Reverting 7156.
Broke the build. Review URL: http://codereview.chromium.org/15402 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7159 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/multiprocess_test.h')
-rw-r--r--base/multiprocess_test.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/base/multiprocess_test.h b/base/multiprocess_test.h
index 4cd5785..a9c67d5 100644
--- a/base/multiprocess_test.h
+++ b/base/multiprocess_test.h
@@ -61,20 +61,11 @@ 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) {
- base::file_handle_mapping_vector empty_file_list;
- return SpawnChild(procname, empty_file_list, false);
+ return SpawnChild(procname, 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);
@@ -98,7 +89,7 @@ class MultiProcessTest : public PlatformTest {
std::string switchstr = WideToUTF8(wswitchstr);
clvec.push_back(switchstr.c_str());
- base::LaunchApp(clvec, fds_to_map, false, &handle);
+ base::LaunchApp(clvec, false, &handle);
#endif
return handle;