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

Unified Diff: mojo/edk/system/data_pipe_impl_unittest.cc

Issue 1530443005: EDK: Add PlatformHandleWatcher to Channel (and ChannelManager) classes. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years 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 | « mojo/edk/system/channel_test_base.cc ('k') | mojo/edk/system/ipc_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/data_pipe_impl_unittest.cc
diff --git a/mojo/edk/system/data_pipe_impl_unittest.cc b/mojo/edk/system/data_pipe_impl_unittest.cc
index 1cf048037b90167901d2a41e71d43790975b1b5b..bee13f76fc501d4a668ed36eade87b0b03f1d67f 100644
--- a/mojo/edk/system/data_pipe_impl_unittest.cc
+++ b/mojo/edk/system/data_pipe_impl_unittest.cc
@@ -321,10 +321,14 @@ class RemoteDataPipeImplTestHelper : public DataPipeImplTestHelper {
embedder::PlatformChannelPair channel_pair;
channels_[0] = MakeRefCounted<Channel>(&platform_support_);
- channels_[0]->Init(RawChannel::Create(channel_pair.PassServerHandle()));
+ channels_[0]->Init(io_thread_.task_runner().Clone(),
+ io_thread_.platform_handle_watcher(),
+ RawChannel::Create(channel_pair.PassServerHandle()));
channels_[0]->SetBootstrapEndpoint(std::move(ep0));
channels_[1] = MakeRefCounted<Channel>(&platform_support_);
- channels_[1]->Init(RawChannel::Create(channel_pair.PassClientHandle()));
+ channels_[1]->Init(io_thread_.task_runner().Clone(),
+ io_thread_.platform_handle_watcher(),
+ RawChannel::Create(channel_pair.PassClientHandle()));
channels_[1]->SetBootstrapEndpoint(std::move(ep1));
}
« no previous file with comments | « mojo/edk/system/channel_test_base.cc ('k') | mojo/edk/system/ipc_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698