| Index: third_party/mojo/src/mojo/edk/system/message_pipe_endpoint.h
|
| diff --git a/third_party/mojo/src/mojo/edk/system/message_pipe_endpoint.h b/third_party/mojo/src/mojo/edk/system/message_pipe_endpoint.h
|
| index 0b5f12eb7ff5480f88c0ef3f24f0196853d39b60..d6fd343c5d6852e6ab603afe38a3c60aa66bdc48 100644
|
| --- a/third_party/mojo/src/mojo/edk/system/message_pipe_endpoint.h
|
| +++ b/third_party/mojo/src/mojo/edk/system/message_pipe_endpoint.h
|
| @@ -50,6 +50,8 @@ class MOJO_SYSTEM_IMPL_EXPORT MessagePipeEndpoint {
|
| virtual void EnqueueMessage(scoped_ptr<MessageInTransit> message) = 0;
|
| virtual void Close() = 0;
|
|
|
| + virtual void OnReadMessage(MessageInTransit::ReadContext& reading_message);
|
| +
|
| // Implementations must override these if they represent a local endpoint,
|
| // i.e., one for which there's a |MessagePipeDispatcher| (and thus a handle).
|
| // An implementation for a proxy endpoint (for which there's no dispatcher)
|
| @@ -71,6 +73,8 @@ class MOJO_SYSTEM_IMPL_EXPORT MessagePipeEndpoint {
|
| HandleSignalsState* signals_state);
|
| virtual void RemoveAwakable(Awakable* awakable,
|
| HandleSignalsState* signals_state);
|
| + virtual MojoResult SetAsyncMessageCallback(
|
| + const AsyncMessageCallback& callback);
|
|
|
| // Implementations must override these if they represent a proxy endpoint. An
|
| // implementation for a local endpoint needs not override these methods, since
|
|
|