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

Unified Diff: third_party/mojo/src/mojo/edk/system/message_pipe_endpoint.cc

Issue 929433005: WIP: A couple of more ChannelMojo speedup ideas (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build and test fix Created 5 years, 10 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 | « third_party/mojo/src/mojo/edk/system/message_pipe_endpoint.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mojo/src/mojo/edk/system/message_pipe_endpoint.cc
diff --git a/third_party/mojo/src/mojo/edk/system/message_pipe_endpoint.cc b/third_party/mojo/src/mojo/edk/system/message_pipe_endpoint.cc
index 4b8bc5e0afce17d924d55f0937df44315f790ea0..1522373616ffe147bf0c970bb7e71f7f045de9e7 100644
--- a/third_party/mojo/src/mojo/edk/system/message_pipe_endpoint.cc
+++ b/third_party/mojo/src/mojo/edk/system/message_pipe_endpoint.cc
@@ -44,6 +44,17 @@ void MessagePipeEndpoint::RemoveAwakable(Awakable* /*awakable*/,
*signals_state = HandleSignalsState();
}
+MojoResult MessagePipeEndpoint::SetAsyncMessageCallback(
+ const AsyncMessageCallback& callback) {
+ NOTREACHED();
+ return MOJO_RESULT_INTERNAL;
+}
+
+void MessagePipeEndpoint::OnReadMessage(
+ MessageInTransit::ReadContext& reading_message) {
+ EnqueueMessage(reading_message.PassMessage());
+}
+
void MessagePipeEndpoint::Attach(ChannelEndpoint* /*channel_endpoint*/) {
NOTREACHED();
}
« no previous file with comments | « third_party/mojo/src/mojo/edk/system/message_pipe_endpoint.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698