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

Unified Diff: mojo/edk/system/message_pipe_test_utils.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/ipc_support.cc ('k') | mojo/edk/system/remote_data_pipe_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/message_pipe_test_utils.cc
diff --git a/mojo/edk/system/message_pipe_test_utils.cc b/mojo/edk/system/message_pipe_test_utils.cc
index 208ffcea9c55b64e274250988beb0331cf3067fc..c36dd6e84ecba6d453e120f16c793fb9119f7aad 100644
--- a/mojo/edk/system/message_pipe_test_utils.cc
+++ b/mojo/edk/system/message_pipe_test_utils.cc
@@ -84,7 +84,9 @@ void ChannelThread::InitChannelOnIOThread(
// Create and initialize |Channel|.
channel_ = MakeRefCounted<Channel>(platform_support_);
- channel_->Init(RawChannel::Create(platform_handle.Pass()));
+ channel_->Init(test_io_thread_.task_runner().Clone(),
+ test_io_thread_.platform_handle_watcher(),
+ RawChannel::Create(platform_handle.Pass()));
// Start the bootstrap endpoint.
// Note: On the "server" (parent process) side, we need not attach/run the
« no previous file with comments | « mojo/edk/system/ipc_support.cc ('k') | mojo/edk/system/remote_data_pipe_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698