Index: mojo/edk/system/local_message_pipe_endpoint.h |
diff --git a/mojo/edk/system/local_message_pipe_endpoint.h b/mojo/edk/system/local_message_pipe_endpoint.h |
index eb1c6ee04a9a119ff554dda58f8d6a0bc3feee35..f792d90ac0f69fcef93b14d2257f11f3be0e01cf 100644 |
--- a/mojo/edk/system/local_message_pipe_endpoint.h |
+++ b/mojo/edk/system/local_message_pipe_endpoint.h |
@@ -19,7 +19,10 @@ namespace system { |
class MOJO_SYSTEM_IMPL_EXPORT LocalMessagePipeEndpoint |
: public MessagePipeEndpoint { |
public: |
- LocalMessagePipeEndpoint(); |
+ // If |message_queue| is non-null, its contents will be taken as the queue of |
+ // (already-received) messages. |
+ explicit LocalMessagePipeEndpoint( |
+ MessageInTransitQueue* message_queue = nullptr); |
~LocalMessagePipeEndpoint() override; |
// |MessagePipeEndpoint| implementation: |