| Index: ipc/ipc_test_base.cc
|
| diff --git a/ipc/ipc_test_base.cc b/ipc/ipc_test_base.cc
|
| index 589ee98ca090bf18d6830bd5e15a4b297a37c60d..f893c28acab1ed14d2d1bbf94b0e2489f8c8318d 100644
|
| --- a/ipc/ipc_test_base.cc
|
| +++ b/ipc/ipc_test_base.cc
|
| @@ -59,6 +59,15 @@ bool IPCTestBase::ConnectChannel() {
|
| return channel_->Connect();
|
| }
|
|
|
| +scoped_ptr<IPC::Channel> IPCTestBase::ReleaseChannel() {
|
| + return channel_.Pass();
|
| +}
|
| +
|
| +void IPCTestBase::SetChannel(scoped_ptr<IPC::Channel> channel) {
|
| + channel_ = channel.Pass();
|
| +}
|
| +
|
| +
|
| void IPCTestBase::DestroyChannel() {
|
| DCHECK(channel_.get());
|
| channel_.reset();
|
| @@ -120,3 +129,7 @@ bool IPCTestBase::WaitForClientShutdown() {
|
| client_process_ = base::kNullProcessHandle;
|
| return rv;
|
| }
|
| +
|
| +scoped_refptr<base::TaskRunner> IPCTestBase::io_thread_task_runner() {
|
| + return message_loop_->message_loop_proxy();
|
| +}
|
|
|