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

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

Issue 2060943007: Make it possible to remove an Awakable with a specific "context" from a Dispatcher. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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 | « mojo/edk/system/message_pipe_endpoint.h ('k') | mojo/edk/system/simple_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/message_pipe_endpoint.cc
diff --git a/mojo/edk/system/message_pipe_endpoint.cc b/mojo/edk/system/message_pipe_endpoint.cc
index 49ee909779de5401419881156a146b8963258a75..0211f8695adfe76edfa060eb50b1f6011bbd8725 100644
--- a/mojo/edk/system/message_pipe_endpoint.cc
+++ b/mojo/edk/system/message_pipe_endpoint.cc
@@ -45,6 +45,15 @@ void MessagePipeEndpoint::RemoveAwakable(Awakable* /*awakable*/,
*signals_state = HandleSignalsState();
}
+void MessagePipeEndpoint::RemoveAwakableWithContext(
+ Awakable* /*awakable*/,
+ uint64_t /*context*/,
+ HandleSignalsState* signals_state) {
+ NOTREACHED();
+ if (signals_state)
+ *signals_state = HandleSignalsState();
+}
+
void MessagePipeEndpoint::Attach(ChannelEndpoint* /*channel_endpoint*/) {
NOTREACHED();
}
« no previous file with comments | « mojo/edk/system/message_pipe_endpoint.h ('k') | mojo/edk/system/simple_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698