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

Unified Diff: mojo/system/channel.h

Issue 612903003: Mojo: Split up Channel::RemoveMessagePipeEndpoint(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@del_onremove
Patch Set: rebased Created 6 years, 3 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 | « no previous file | mojo/system/channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/channel.h
diff --git a/mojo/system/channel.h b/mojo/system/channel.h
index 185037208f8621fd734756e908583e3337768f9f..0be9999cc6da4b0baacc922b1296e0624f67a379 100644
--- a/mojo/system/channel.h
+++ b/mojo/system/channel.h
@@ -143,12 +143,11 @@ class MOJO_SYSTEM_IMPL_EXPORT Channel
const MessageInTransit::View& message_view,
embedder::ScopedPlatformHandleVectorPtr platform_handles);
- // Removes the message pipe endpoint with the given local ID, which must exist
- // and be a zombie, and given remote ID. Returns false on failure, in
- // particular if no message pipe with |local_id| is attached. Only called on
- // the creation thread.
- bool RemoveMessagePipeEndpoint(MessageInTransit::EndpointId local_id,
- MessageInTransit::EndpointId remote_id);
+ // Handles "remove message pipe endpoint" messages.
+ bool OnRemoveMessagePipeEndpoint(MessageInTransit::EndpointId local_id,
+ MessageInTransit::EndpointId remote_id);
+ // Handles "remove message pipe endpoint ack" messages.
+ bool OnRemoveMessagePipeEndpointAck(MessageInTransit::EndpointId local_id);
// Handles errors (e.g., invalid messages) from the remote side. Callable from
// any thread.
« no previous file with comments | « no previous file | mojo/system/channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698