diff options
Diffstat (limited to 'chrome/common/ipc_channel_proxy.h')
-rw-r--r-- | chrome/common/ipc_channel_proxy.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/common/ipc_channel_proxy.h b/chrome/common/ipc_channel_proxy.h index 6b9d777..2b08c09 100644 --- a/chrome/common/ipc_channel_proxy.h +++ b/chrome/common/ipc_channel_proxy.h @@ -128,8 +128,10 @@ class ChannelProxy : public Message::Sender { MessageLoop* ipc_thread); virtual ~Context() { } MessageLoop* ipc_message_loop() const { return ipc_message_loop_; } + Channel::Listener* listener() const { return listener_; } + const std::wstring& channel_id() const { return channel_id_; } - protected: + protected: // IPC::Channel::Listener methods: virtual void OnMessageReceived(const Message& message); virtual void OnChannelConnected(int32 peer_pid); @@ -138,9 +140,6 @@ class ChannelProxy : public Message::Sender { // Like OnMessageReceived but doesn't try the filters. void OnMessageReceivedNoFilter(const Message& message); - Channel::Listener* listener() const { return listener_; } - const std::wstring& channel_id() const { return channel_id_; } - // Gives the filters a chance at processing |message|. // Returns true if the message was processed, false otherwise. bool TryFilters(const Message& message); |