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-19 21:37:01 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-19 21:37:01 +0000
commitdf3c1ca1d62d9bb67e10b2d514082b8ac7ac0277 (patch)
treefcb6ff56b5782df2e084ec4902ff9085751b8f61 /chrome/common/ipc_tests.h
parent83d36f001d591d153b3442e9d0f3739ee984469a (diff)
downloadchromium_src-df3c1ca1d62d9bb67e10b2d514082b8ac7ac0277.zip
chromium_src-df3c1ca1d62d9bb67e10b2d514082b8ac7ac0277.tar.gz
chromium_src-df3c1ca1d62d9bb67e10b2d514082b8ac7ac0277.tar.bz2
Implement command line switch to allow using a FIFO or a socketpair() for IPC on POSIX.
Review URL: http://codereview.chromium.org/14863 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7319 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/ipc_tests.h')
-rw-r--r--chrome/common/ipc_tests.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/common/ipc_tests.h b/chrome/common/ipc_tests.h
index 30c043f..09f3d12 100644
--- a/chrome/common/ipc_tests.h
+++ b/chrome/common/ipc_tests.h
@@ -22,6 +22,9 @@ extern const wchar_t kReflectorChannel[];
extern const wchar_t kFuzzerChannel[];
class MessageLoopForIO;
+namespace IPC {
+class Channel;
+} // namespace IPC
//Base class to facilitate Spawning IPC Client processes.
class IPCChannelTest : public MultiProcessTest {
@@ -32,7 +35,8 @@ class IPCChannelTest : public MultiProcessTest {
virtual void TearDown();
// Spawns a child process of the specified type
- base::ProcessHandle SpawnChild(ChildType child_type);
+ base::ProcessHandle SpawnChild(ChildType child_type,
+ IPC::Channel *channel);
// Created around each test instantiation.
MessageLoopForIO *message_loop_;