Index: mojo/system/message_pipe_endpoint.h |
diff --git a/mojo/system/message_pipe_endpoint.h b/mojo/system/message_pipe_endpoint.h |
index 4eb84acd8cdb9b22f0155ed1df7e5f57d255f493..a6bf6f9c27f08fb08e1ad5bb6a93cfbe223e1b53 100644 |
--- a/mojo/system/message_pipe_endpoint.h |
+++ b/mojo/system/message_pipe_endpoint.h |
@@ -23,6 +23,7 @@ namespace mojo { |
namespace system { |
class Channel; |
+class ChannelEndpoint; |
class Waiter; |
// This is an interface to one of the ends of a message pipe, and is used by |
@@ -74,7 +75,8 @@ class MOJO_SYSTEM_IMPL_EXPORT MessagePipeEndpoint { |
// Implementations must override these if they represent a proxy endpoint. An |
// implementation for a local endpoint needs not override these methods, since |
// they should never be called. |
- virtual void Attach(scoped_refptr<Channel> channel, |
+ virtual void Attach(ChannelEndpoint* channel_endpoint, |
+ Channel* channel, |
MessageInTransit::EndpointId local_id); |
// Returns false if the endpoint should be closed and destroyed, else true. |
virtual bool Run(MessageInTransit::EndpointId remote_id); |