summaryrefslogtreecommitdiffstats
path: root/mojo/system/message_pipe.h
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/system/message_pipe.h')
-rw-r--r--mojo/system/message_pipe.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/mojo/system/message_pipe.h b/mojo/system/message_pipe.h
index 33e49a1..6815dcb 100644
--- a/mojo/system/message_pipe.h
+++ b/mojo/system/message_pipe.h
@@ -68,10 +68,15 @@ class MOJO_SYSTEM_IMPL_EXPORT MessagePipe :
MojoResult wake_result);
void RemoveWaiter(unsigned port, Waiter* waiter);
+ // This is called by the dispatcher to convert a local endpoint to a proxy
+ // endpoint.
+ void ConvertLocalToProxy(unsigned port);
+
// This is used internally by |WriteMessage()| and by |Channel| to enqueue
// messages (typically to a |LocalMessagePipeEndpoint|). Unlike
- // |WriteMessage()|, |port| is the *destination* port. |dispatchers| should be
- // non-null only if it's nonempty.
+ // |WriteMessage()|, |port| is the *destination* port. |transports| should be
+ // non-null only if it's nonempty, and only if |message| has no dispatchers
+ // attached.
MojoResult EnqueueMessage(unsigned port,
scoped_ptr<MessageInTransit> message,
std::vector<DispatcherTransport>* transports);