summaryrefslogtreecommitdiffstats
path: root/ipc/attachment_broker_privileged_win_unittest.cc
diff options
context:
space:
mode:
authorerikchen <erikchen@chromium.org>2016-03-21 16:19:40 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-21 23:20:55 +0000
commita91d0513fa16b2e8c48acbaf7a5c18659ab10d07 (patch)
treea1da38fd22b8fa4c03196341b49f5a0aef4cd7c3 /ipc/attachment_broker_privileged_win_unittest.cc
parentc15ed73a0bb7161c52e1fde97bd2bf3e6534d78b (diff)
downloadchromium_src-a91d0513fa16b2e8c48acbaf7a5c18659ab10d07.zip
chromium_src-a91d0513fa16b2e8c48acbaf7a5c18659ab10d07.tar.gz
chromium_src-a91d0513fa16b2e8c48acbaf7a5c18659ab10d07.tar.bz2
Add support for Attachment Brokering of IPC::Channels on multiple threads.
Attachment brokering makes the assumption that there's a single thread on which IO related to IPC::Channels occurs. This assumption is violated when the flag --single-process is set. BUG=590213 Review URL: https://codereview.chromium.org/1739203004 Cr-Commit-Position: refs/heads/master@{#382431}
Diffstat (limited to 'ipc/attachment_broker_privileged_win_unittest.cc')
-rw-r--r--ipc/attachment_broker_privileged_win_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/attachment_broker_privileged_win_unittest.cc b/ipc/attachment_broker_privileged_win_unittest.cc
index 9f720c8..3ab9111 100644
--- a/ipc/attachment_broker_privileged_win_unittest.cc
+++ b/ipc/attachment_broker_privileged_win_unittest.cc
@@ -506,7 +506,7 @@ int CommonPrivilegedProcessMain(OnMessageReceivedCallback callback,
IPC::AttachmentBrokerPrivilegedWin broker;
scoped_ptr<IPC::Channel> channel(IPC::Channel::CreateClient(
IPCTestBase::GetChannelName(channel_name), &listener));
- broker.RegisterCommunicationChannel(channel.get());
+ broker.RegisterCommunicationChannel(channel.get(), nullptr);
CHECK(channel->Connect());
while (true) {