Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Unified Diff: ipc/ipc_test_base.cc

Issue 1185133006: IPC: Make ChannelReader inherit from SupportsAttachmentBrokering. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments from tsepez. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ipc/ipc_sync_channel_unittest.cc ('k') | ipc/mojo/ipc_channel_mojo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_test_base.cc
diff --git a/ipc/ipc_test_base.cc b/ipc/ipc_test_base.cc
index 0d6628226917984a4ec333259ff812e8c5f5b5ad..4de55431b38bf9c9242bdb88c5fb3e737620eac9 100644
--- a/ipc/ipc_test_base.cc
+++ b/ipc/ipc_test_base.cc
@@ -90,8 +90,7 @@ void IPCTestBase::CreateChannelProxy(
CHECK(!channel_proxy_.get());
channel_proxy_ = IPC::ChannelProxy::Create(
CreateChannelFactory(GetTestChannelHandle(), ipc_task_runner.get()),
- listener,
- ipc_task_runner);
+ listener, ipc_task_runner);
}
void IPCTestBase::DestroyChannelProxy() {
@@ -161,5 +160,6 @@ scoped_refptr<base::SequencedTaskRunner> IPCTestBase::task_runner() {
scoped_ptr<IPC::ChannelFactory> IPCTestBase::CreateChannelFactory(
const IPC::ChannelHandle& handle,
base::SequencedTaskRunner* runner) {
- return IPC::ChannelFactory::Create(handle, IPC::Channel::MODE_SERVER);
+ return IPC::ChannelFactory::Create(handle, IPC::Channel::MODE_SERVER,
+ nullptr);
}
« no previous file with comments | « ipc/ipc_sync_channel_unittest.cc ('k') | ipc/mojo/ipc_channel_mojo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698