| 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..170c21aed0c68459df305dff2d223a5a03c4b540 100644
|
| --- a/third_party/mojo/src/mojo/edk/system/channel_endpoint.h
|
| +++ b/third_party/mojo/src/mojo/edk/system/channel_endpoint.h
|
| @@ -10,6 +10,7 @@
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/synchronization/lock.h"
|
| #include "mojo/edk/system/channel_endpoint_id.h"
|
| +#include "mojo/edk/system/message_in_transit.h"
|
| #include "mojo/edk/system/message_in_transit_queue.h"
|
| #include "mojo/edk/system/system_impl_export.h"
|
|
|
| @@ -18,7 +19,6 @@ namespace system {
|
|
|
| class Channel;
|
| class ChannelEndpointClient;
|
| -class MessageInTransit;
|
|
|
| // TODO(vtl): The plan:
|
| // - (Done.) Move |Channel::Endpoint| to |ChannelEndpoint|. Make it
|
| @@ -153,7 +153,7 @@ class MOJO_SYSTEM_IMPL_EXPORT ChannelEndpoint
|
| ChannelEndpointId remote_id);
|
|
|
| // Called when the |Channel| receives a message for the |ChannelEndpoint|.
|
| - void OnReadMessage(scoped_ptr<MessageInTransit> message);
|
| + void OnReadMessage(MessageInTransit::ReadContext& reading_message);
|
|
|
| // Called before the |Channel| gives up its reference to this object.
|
| void DetachFromChannel();
|
|
|