diff options
Diffstat (limited to 'chrome/common/ipc_channel_proxy.h')
-rw-r--r-- | chrome/common/ipc_channel_proxy.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/common/ipc_channel_proxy.h b/chrome/common/ipc_channel_proxy.h index ca8abb4..82b3d88 100644 --- a/chrome/common/ipc_channel_proxy.h +++ b/chrome/common/ipc_channel_proxy.h @@ -149,7 +149,6 @@ class ChannelProxy : public Message::Sender { // to the internal state. If create_pipe_now is true, the pipe is created // immediately. Otherwise it's created on the IO thread. ChannelProxy(const std::wstring& channel_id, Channel::Mode mode, - Channel::Listener* listener, MessageFilter* filter, MessageLoop* ipc_thread_loop, Context* context, bool create_pipe_now); @@ -170,6 +169,10 @@ class ChannelProxy : public Message::Sender { 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); + private: friend class ChannelProxy; // Create the Channel |