summaryrefslogtreecommitdiffstats
path: root/chrome/common/ipc_tests.h
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-01 23:48:34 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-01 23:48:34 +0000
commitdc90da2c3f8c87baa8dcea7fbf0272001d771ecf (patch)
tree99baf8465918e25521eab024315a5aa9ce78734d /chrome/common/ipc_tests.h
parentbf1b47dfbe8294738c0db628af036e2fd363ddac (diff)
downloadchromium_src-dc90da2c3f8c87baa8dcea7fbf0272001d771ecf.zip
chromium_src-dc90da2c3f8c87baa8dcea7fbf0272001d771ecf.tar.gz
chromium_src-dc90da2c3f8c87baa8dcea7fbf0272001d771ecf.tar.bz2
* Add ipc_tests unittest target to xcode project.
* Stub out ipc_channel_posix.cc to allow other code that depends on it to be compiled. * Cleanup some ipc code a bit to compile on gcc. * Remove unused IPC::Channel::ProcessPendingMessages() git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6181 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/ipc_tests.h')
-rw-r--r--chrome/common/ipc_tests.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/common/ipc_tests.h b/chrome/common/ipc_tests.h
index e4ef4ce..ceac51a 100644
--- a/chrome/common/ipc_tests.h
+++ b/chrome/common/ipc_tests.h
@@ -5,6 +5,8 @@
#ifndef CHROME_COMMON_IPC_TESTS_H__
#define CHROME_COMMON_IPC_TESTS_H__
+#include "base/process.h"
+
// This unit test uses 3 types of child processes, a regular pipe client,
// a client reflector and a IPC server used for fuzzing tests.
enum ChildType {
@@ -20,7 +22,7 @@ extern const wchar_t kFuzzerChannel[];
// Spawns a child process and then runs the code for one of the 3 possible
// child modes.
-HANDLE SpawnChild(ChildType child_type);
+base::ProcessHandle SpawnChild(ChildType child_type);
// Runs the fuzzing server child mode. Returns true when the preset number
// of messages have been received.