diff options
author | morrita@chromium.org <morrita@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-13 06:07:14 +0000 |
---|---|---|
committer | morrita@chromium.org <morrita@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-13 06:07:14 +0000 |
commit | d1549b8de5f07af6de2e1e58d3e6ce8ec6754f60 (patch) | |
tree | 78246b8aa9134c47dda365f11e822e6c2e6d69cf /chrome/renderer/media/cast_ipc_dispatcher.h | |
parent | 12a63dac960d6714b9d6d863117ac4d734f283d4 (diff) | |
download | chromium_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 'chrome/renderer/media/cast_ipc_dispatcher.h')
-rw-r--r-- | chrome/renderer/media/cast_ipc_dispatcher.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/renderer/media/cast_ipc_dispatcher.h b/chrome/renderer/media/cast_ipc_dispatcher.h index 320b797..82af570 100644 --- a/chrome/renderer/media/cast_ipc_dispatcher.h +++ b/chrome/renderer/media/cast_ipc_dispatcher.h @@ -29,7 +29,7 @@ class CastIPCDispatcher : public IPC::MessageFilter { // IPC::MessageFilter implementation virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; - virtual void OnFilterAdded(IPC::Channel* channel) OVERRIDE; + virtual void OnFilterAdded(IPC::Sender* sender) OVERRIDE; virtual void OnFilterRemoved() OVERRIDE; virtual void OnChannelClosing() OVERRIDE; @@ -52,8 +52,8 @@ class CastIPCDispatcher : public IPC::MessageFilter { static CastIPCDispatcher* global_instance_; - // IPC channel for Send(); must only be accesed on |io_message_loop_|. - IPC::Channel* channel_; + // For IPC Send(); must only be accesed on |io_message_loop_|. + IPC::Sender* sender_; // Message loop on which IPC calls are driven. const scoped_refptr<base::MessageLoopProxy> io_message_loop_; |