diff options
Diffstat (limited to 'chrome/common/ipc_tests.h')
-rw-r--r-- | chrome/common/ipc_tests.h | 6 |
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_; |