diff options
author | erikchen <erikchen@chromium.org> | 2015-06-16 14:21:04 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-16 21:22:05 +0000 |
commit | 27aa7d8b9e17ed5dd8f6b247c87ae7988f61d793 (patch) | |
tree | 7a4c8d42e0ff6f11b961130667dd9c1918b89ba9 /ipc/ipc_channel_proxy_unittest.cc | |
parent | 7891daf96e1f86c4874107b3e2308216577bea25 (diff) | |
download | chromium_src-27aa7d8b9e17ed5dd8f6b247c87ae7988f61d793.zip chromium_src-27aa7d8b9e17ed5dd8f6b247c87ae7988f61d793.tar.gz chromium_src-27aa7d8b9e17ed5dd8f6b247c87ae7988f61d793.tar.bz2 |
IPC: Make ChannelReader inherit from SupportsAttachmentBrokering.
Each IPC::Channel will have a reference to an AttachmentBroker. This is
accomplished by requiring each of the Channel::Create methods to have a
|broker| parameter. For now, the |broker| parameter has a default value of
nullptr. This default parameter only exists so that this CL and subsequent
refactors can be decomposed into smaller CLs. The default parameter will be
removed once all callers of Channel::Create have been updated to pass in an
appropriate broker.
BUG=493414
Review URL: https://codereview.chromium.org/1185133006
Cr-Commit-Position: refs/heads/master@{#334699}
Diffstat (limited to 'ipc/ipc_channel_proxy_unittest.cc')
-rw-r--r-- | ipc/ipc_channel_proxy_unittest.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ipc/ipc_channel_proxy_unittest.cc b/ipc/ipc_channel_proxy_unittest.cc index 4144a8a..ee5dc22 100644 --- a/ipc/ipc_channel_proxy_unittest.cc +++ b/ipc/ipc_channel_proxy_unittest.cc @@ -423,8 +423,7 @@ MULTIPROCESS_IPC_TEST_CLIENT_MAIN(ChannelProxyClient) { base::MessageLoopForIO main_message_loop; ChannelReflectorListener listener; scoped_ptr<IPC::Channel> channel(IPC::Channel::CreateClient( - IPCTestBase::GetChannelName("ChannelProxyClient"), - &listener)); + IPCTestBase::GetChannelName("ChannelProxyClient"), &listener, nullptr)); CHECK(channel->Connect()); listener.Init(channel.get()); |