| Index: mojo/edk/system/channel_endpoint_client.h
|
| diff --git a/mojo/edk/system/channel_endpoint_client.h b/mojo/edk/system/channel_endpoint_client.h
|
| index 7a7d5b8044548a5128f610bed99af7acf72974a8..c758e9c5485e4533d158b930548fc42e19084475 100644
|
| --- a/mojo/edk/system/channel_endpoint_client.h
|
| +++ b/mojo/edk/system/channel_endpoint_client.h
|
| @@ -38,8 +38,9 @@ class MOJO_SYSTEM_IMPL_EXPORT ChannelEndpointClient
|
| // called by |Channel| when it receives a message for the |ChannelEndpoint|.
|
| // (|port| is the value passed to |ChannelEndpoint|'s constructor as
|
| // |client_port|.)
|
| - virtual void OnReadMessage(unsigned port,
|
| - scoped_ptr<MessageInTransit> message) = 0;
|
| + //
|
| + // This should return true if it accepted (and took ownership of) |message|.
|
| + virtual bool OnReadMessage(unsigned port, MessageInTransit* message) = 0;
|
|
|
| // Called by |ChannelEndpoint| when the |Channel| is relinquishing its pointer
|
| // to the |ChannelEndpoint| (and vice versa). After this is called,
|
|
|