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

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

Issue 799113004: Update mojo sdk to rev 59145288bae55b0fce4276b017df6a1117bcf00f (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add mojo's ply to checklicenses whitelist Created 6 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/message_pipe.cc ('k') | mojo/edk/system/remote_message_pipe_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 38fc8990fa696412298f1d8954f9287e8bf30fa9..ba6a0e0d19c0a3eea72bccbd33598695a3020f5d 100644
--- a/mojo/edk/system/message_pipe_test_utils.cc
+++ b/mojo/edk/system/message_pipe_test_utils.cc
@@ -76,13 +76,13 @@ void ChannelThread::InitChannelOnIOThread(
channel_ = new Channel(platform_support_);
CHECK(channel_->Init(RawChannel::Create(platform_handle.Pass())));
- // Attach and run the endpoint.
+ // Start the bootstrap endpoint.
// Note: On the "server" (parent process) side, we need not attach/run the
// endpoint immediately. However, on the "client" (child process) side, this
// *must* be done here -- otherwise, the |Channel| may receive/process
// messages (which it can do as soon as it's hooked up to the IO thread
// message loop, and that message loop runs) before the endpoint is attached.
- channel_->AttachAndRunEndpoint(channel_endpoint, true);
+ channel_->SetBootstrapEndpoint(channel_endpoint);
}
void ChannelThread::ShutdownChannelOnIOThread() {
« no previous file with comments | « mojo/edk/system/message_pipe.cc ('k') | mojo/edk/system/remote_message_pipe_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698