summaryrefslogtreecommitdiffstats
path: root/ipc/message_filter.h
diff options
context:
space:
mode:
authormorrita@chromium.org <morrita@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-13 06:07:14 +0000
committermorrita@chromium.org <morrita@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-13 06:07:14 +0000
commitd1549b8de5f07af6de2e1e58d3e6ce8ec6754f60 (patch)
tree78246b8aa9134c47dda365f11e822e6c2e6d69cf /ipc/message_filter.h
parent12a63dac960d6714b9d6d863117ac4d734f283d4 (diff)
downloadchromium_src-d1549b8de5f07af6de2e1e58d3e6ce8ec6754f60.zip
chromium_src-d1549b8de5f07af6de2e1e58d3e6ce8ec6754f60.tar.gz
chromium_src-d1549b8de5f07af6de2e1e58d3e6ce8ec6754f60.tar.bz2
Decouple IPC::MessageFilter from IPC::Channel
This change gets rid of Channel dependency from MessageFilter so that it depends only on IPC::Sender. TEST=none BUG=377980 R=jam@chromium.org, darin@chromium.org Review URL: https://codereview.chromium.org/324143002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276939 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/message_filter.h')
-rw-r--r--ipc/message_filter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/message_filter.h b/ipc/message_filter.h
index 0371585..c9ba4e8 100644
--- a/ipc/message_filter.h
+++ b/ipc/message_filter.h
@@ -12,7 +12,7 @@
namespace IPC {
-class Channel;
+class Sender;
class Message;
// A class that receives messages on the thread where the IPC channel is
@@ -25,7 +25,7 @@ class IPC_EXPORT MessageFilter
// Called on the background thread to provide the filter with access to the
// channel. Called when the IPC channel is initialized or when AddFilter
// is called if the channel is already initialized.
- virtual void OnFilterAdded(Channel* channel);
+ virtual void OnFilterAdded(Sender* sender);
// Called on the background thread when the filter has been removed from
// the ChannelProxy and when the Channel is closing. After a filter is