Index: third_party/mojo/src/mojo/edk/system/channel_endpoint.h |
diff --git a/third_party/mojo/src/mojo/edk/system/channel_endpoint.h b/third_party/mojo/src/mojo/edk/system/channel_endpoint.h |
index 90ee86b758399f912c93baac0d54b643e4d39036..38245c47dd08adec75c53d5d196df9acf8bbe974 100644 |
--- a/third_party/mojo/src/mojo/edk/system/channel_endpoint.h |
+++ b/third_party/mojo/src/mojo/edk/system/channel_endpoint.h |
@@ -165,6 +165,9 @@ class MOJO_SYSTEM_IMPL_EXPORT ChannelEndpoint |
// Must be called with |lock_| held. |
bool WriteMessageNoLock(scoped_ptr<MessageInTransit> message); |
+ // Helper for |OnReadMessage()|, handling messages for the client. |
+ void OnReadMessageForClient(scoped_ptr<MessageInTransit> message); |
+ |
// Resets |channel_| to null (and sets |is_detached_from_channel_|). This may |
// only be called if |channel_| is non-null. Must be called with |lock_| held. |
void ResetChannelNoLock(); |