Index: ipc/ipc_test_base.h |
diff --git a/ipc/ipc_test_base.h b/ipc/ipc_test_base.h |
index 86178b0c5f0130d6a66be16ca038544cf31d51c7..1168e426d40f403c1d179acc1b3bf150303b2811 100644 |
--- a/ipc/ipc_test_base.h |
+++ b/ipc/ipc_test_base.h |
@@ -105,6 +105,10 @@ class IPCTestBase : public base::MultiProcessTest { |
IPC::Channel* channel() { return channel_.get(); } |
IPC::ChannelProxy* channel_proxy() { return channel_proxy_.get(); } |
+ void set_channel_proxy(scoped_ptr<IPC::ChannelProxy> proxy) { |
+ DCHECK(!channel_proxy_); |
+ channel_proxy_.swap(proxy); |
+ } |
const base::Process& client_process() const { return client_process_; } |
scoped_refptr<base::SequencedTaskRunner> task_runner(); |