diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-19 16:01:26 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-19 16:01:26 +0000 |
commit | 56cd2343fceaaa20540db96619ae15424f8d2814 (patch) | |
tree | 7e4c7181602409d980d29c60a0042ff29cffc2c8 /ipc/ipc_channel_proxy.h | |
parent | bd6304d77174538115c626e68d53ed4e79d1928c (diff) | |
download | chromium_src-56cd2343fceaaa20540db96619ae15424f8d2814.zip chromium_src-56cd2343fceaaa20540db96619ae15424f8d2814.tar.gz chromium_src-56cd2343fceaaa20540db96619ae15424f8d2814.tar.bz2 |
Remove ipc fuzzing code.
BUG=298372
Review URL: https://codereview.chromium.org/27031007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229577 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_channel_proxy.h')
-rw-r--r-- | ipc/ipc_channel_proxy.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/ipc/ipc_channel_proxy.h b/ipc/ipc_channel_proxy.h index a0de88e..1f5ecf4 100644 --- a/ipc/ipc_channel_proxy.h +++ b/ipc/ipc_channel_proxy.h @@ -95,15 +95,6 @@ class IPC_EXPORT ChannelProxy : public Sender, public base::NonThreadSafe { friend class base::RefCountedThreadSafe<MessageFilter>; }; - // Interface for a filter to be imposed on outgoing messages which can - // re-write the message. Used mainly for testing. - class OutgoingMessageFilter { - public: - // Returns a re-written message, freeing the original, or simply the - // original unchanged if no rewrite indicated. - virtual Message *Rewrite(Message *message) = 0; - }; - // Initializes a channel proxy. The channel_handle and mode parameters are // passed directly to the underlying IPC::Channel. The listener is called on // the thread that creates the ChannelProxy. The filter's OnMessageReceived @@ -152,10 +143,6 @@ class IPC_EXPORT ChannelProxy : public Sender, public base::NonThreadSafe { void AddFilter(MessageFilter* filter); void RemoveFilter(MessageFilter* filter); - void set_outgoing_message_filter(OutgoingMessageFilter* filter) { - outgoing_message_filter_ = filter; - } - // Called to clear the pointer to the IPC task runner when it's going away. void ClearIPCTaskRunner(); @@ -256,10 +243,6 @@ class IPC_EXPORT ChannelProxy : public Sender, public base::NonThreadSafe { Context* context() { return context_.get(); } - OutgoingMessageFilter* outgoing_message_filter() { - return outgoing_message_filter_; - } - private: friend class SendCallbackHelper; @@ -268,8 +251,6 @@ class IPC_EXPORT ChannelProxy : public Sender, public base::NonThreadSafe { // that involves this data. scoped_refptr<Context> context_; - OutgoingMessageFilter* outgoing_message_filter_; - // Whether the channel has been initialized. bool did_init_; }; |