Index: mojo/system/proxy_message_pipe_endpoint.h |
diff --git a/mojo/system/proxy_message_pipe_endpoint.h b/mojo/system/proxy_message_pipe_endpoint.h |
index 1d766c947b353c69b786c7acb2cdd880c0582d6f..72bc8f69ce92bd8ed5ad33775b1bd1727b3e96c1 100644 |
--- a/mojo/system/proxy_message_pipe_endpoint.h |
+++ b/mojo/system/proxy_message_pipe_endpoint.h |
@@ -19,6 +19,7 @@ namespace mojo { |
namespace system { |
class Channel; |
+class ChannelEndpoint; |
class LocalMessagePipeEndpoint; |
class MessagePipe; |
@@ -54,7 +55,8 @@ class MOJO_SYSTEM_IMPL_EXPORT ProxyMessagePipeEndpoint |
virtual Type GetType() const OVERRIDE; |
virtual bool OnPeerClose() OVERRIDE; |
virtual void EnqueueMessage(scoped_ptr<MessageInTransit> message) OVERRIDE; |
- virtual void Attach(scoped_refptr<Channel> channel, |
+ virtual void Attach(ChannelEndpoint* channel_endpoint, |
+ Channel* channel, |
MessageInTransit::EndpointId local_id) OVERRIDE; |
virtual bool Run(MessageInTransit::EndpointId remote_id) OVERRIDE; |
virtual void OnRemove() OVERRIDE; |
@@ -75,6 +77,10 @@ class MOJO_SYSTEM_IMPL_EXPORT ProxyMessagePipeEndpoint |
} |
// This should only be set if we're attached. |
+ scoped_refptr<ChannelEndpoint> channel_endpoint_; |
+ |
+ // TODO(vtl): Remove this, local_id_, and remote_id_. |
+ // This should only be set if we're attached. |
scoped_refptr<Channel> channel_; |
// |local_id_| should be set to something other than |