summaryrefslogtreecommitdiffstats
path: root/mojo/system/proxy_message_pipe_endpoint.h
diff options
context:
space:
mode:
authorViet-Trung Luu <viettrungluu@chromium.org>2014-09-25 17:09:35 -0700
committerViet-Trung Luu <viettrungluu@chromium.org>2014-09-26 00:10:11 +0000
commit422b434274e09a95ca778dd29890d51ab2c15ae5 (patch)
treed6200dbddeca7a7b9702fe25d26a13df2f7bb8fb /mojo/system/proxy_message_pipe_endpoint.h
parent87b206f94c49a8205fdc2975d02bd574b0e3cd3d (diff)
downloadchromium_src-422b434274e09a95ca778dd29890d51ab2c15ae5.zip
chromium_src-422b434274e09a95ca778dd29890d51ab2c15ae5.tar.gz
chromium_src-422b434274e09a95ca778dd29890d51ab2c15ae5.tar.bz2
Mojo: Remove ProxyMessagePipeEndpoint::Run(), etc.
R=darin@chromium.org Review URL: https://codereview.chromium.org/596363003 Cr-Commit-Position: refs/heads/master@{#296837}
Diffstat (limited to 'mojo/system/proxy_message_pipe_endpoint.h')
-rw-r--r--mojo/system/proxy_message_pipe_endpoint.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/mojo/system/proxy_message_pipe_endpoint.h b/mojo/system/proxy_message_pipe_endpoint.h
index 04723a2..d015054 100644
--- a/mojo/system/proxy_message_pipe_endpoint.h
+++ b/mojo/system/proxy_message_pipe_endpoint.h
@@ -37,36 +37,23 @@ class MOJO_SYSTEM_IMPL_EXPORT ProxyMessagePipeEndpoint
: public MessagePipeEndpoint {
public:
explicit ProxyMessagePipeEndpoint(ChannelEndpoint* channel_endpoint);
- // Constructs a |ProxyMessagePipeEndpoint|, whose peer may already be closed.
- // This is used to construct one to replace a |LocalMessagePipeEndpoint|, when
- // transferring a message pipe handle over a remote message pipe.
- ProxyMessagePipeEndpoint(
- ChannelEndpoint* channel_endpoint,
- bool is_peer_open);
virtual ~ProxyMessagePipeEndpoint();
// |MessagePipeEndpoint| implementation:
virtual Type GetType() const OVERRIDE;
virtual bool OnPeerClose() OVERRIDE;
virtual void EnqueueMessage(scoped_ptr<MessageInTransit> message) OVERRIDE;
- virtual bool Run() OVERRIDE;
virtual void OnRemove() OVERRIDE;
private:
void Detach();
- // TODO(vtl): Get rid of these.
+ // TODO(vtl): Get rid of this.
bool is_attached() const { return !!channel_endpoint_.get(); }
- bool is_running() const { return is_running_; }
// This should only be set if we're attached.
scoped_refptr<ChannelEndpoint> channel_endpoint_;
- // TODO(vtl): Get rid of this.
- bool is_running_;
-
- bool is_peer_open_;
-
DISALLOW_COPY_AND_ASSIGN(ProxyMessagePipeEndpoint);
};