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

Unified Diff: ipc/ipc_sync_channel_unittest.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.cc ('k') | ipc/ipc_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_sync_channel_unittest.cc
diff --git a/ipc/ipc_sync_channel_unittest.cc b/ipc/ipc_sync_channel_unittest.cc
index 7e81d5deabc1499ccba5f8e67b8719a390aab1dd..1e61a68bd610a7ceaf76b574c06dd8a338aa70ef 100644
--- a/ipc/ipc_sync_channel_unittest.cc
+++ b/ipc/ipc_sync_channel_unittest.cc
@@ -155,7 +155,7 @@ class Worker : public Listener, public Sender {
virtual SyncChannel* CreateChannel() {
scoped_ptr<SyncChannel> channel = SyncChannel::Create(
channel_name_, mode_, this, ipc_thread_.task_runner().get(), true,
- &shutdown_event_);
+ &shutdown_event_, nullptr);
return channel.release();
}
@@ -327,7 +327,7 @@ class TwoStepServer : public Worker {
SyncChannel* channel =
SyncChannel::Create(channel_name(), mode(), this,
ipc_thread().task_runner().get(), create_pipe_now_,
- shutdown_event()).release();
+ shutdown_event(), nullptr).release();
return channel;
}
@@ -349,7 +349,7 @@ class TwoStepClient : public Worker {
SyncChannel* channel =
SyncChannel::Create(channel_name(), mode(), this,
ipc_thread().task_runner().get(), create_pipe_now_,
- shutdown_event()).release();
+ shutdown_event(), nullptr).release();
return channel;
}
@@ -1138,7 +1138,7 @@ class RestrictedDispatchClient : public Worker {
non_restricted_channel_ = SyncChannel::Create(
"non_restricted_channel", IPC::Channel::MODE_CLIENT, this,
- ipc_thread().task_runner().get(), true, shutdown_event());
+ ipc_thread().task_runner().get(), true, shutdown_event(), nullptr);
server_->ListenerThread()->task_runner()->PostTask(
FROM_HERE, base::Bind(&RestrictedDispatchServer::OnDoPing, server_, 2));
@@ -1525,7 +1525,7 @@ class RestrictedDispatchPipeWorker : public Worker {
event2_->Wait();
other_channel_ = SyncChannel::Create(
other_channel_name_, IPC::Channel::MODE_CLIENT, this,
- ipc_thread().task_runner().get(), true, shutdown_event());
+ ipc_thread().task_runner().get(), true, shutdown_event(), nullptr);
other_channel_->SetRestrictDispatchChannelGroup(group_);
if (!is_first()) {
event1_->Signal();
@@ -1601,7 +1601,7 @@ class ReentrantReplyServer1 : public Worker {
void Run() override {
server2_channel_ = SyncChannel::Create(
"reentrant_reply2", IPC::Channel::MODE_CLIENT, this,
- ipc_thread().task_runner().get(), true, shutdown_event());
+ ipc_thread().task_runner().get(), true, shutdown_event(), nullptr);
server_ready_->Signal();
Message* msg = new SyncChannelTestMsg_Reentrant1();
server2_channel_->Send(msg);
« no previous file with comments | « ipc/ipc_sync_channel.cc ('k') | ipc/ipc_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698