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 /ipc/ipc_sync_channel_unittest.cc | |
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 'ipc/ipc_sync_channel_unittest.cc')
-rw-r--r-- | ipc/ipc_sync_channel_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/ipc_sync_channel_unittest.cc b/ipc/ipc_sync_channel_unittest.cc index a145f6b..05126b9 100644 --- a/ipc/ipc_sync_channel_unittest.cc +++ b/ipc/ipc_sync_channel_unittest.cc @@ -934,8 +934,8 @@ class TestSyncMessageFilter : public SyncMessageFilter { message_loop_(message_loop) { } - virtual void OnFilterAdded(Channel* channel) OVERRIDE { - SyncMessageFilter::OnFilterAdded(channel); + virtual void OnFilterAdded(Sender* sender) OVERRIDE { + SyncMessageFilter::OnFilterAdded(sender); message_loop_->PostTask( FROM_HERE, base::Bind(&TestSyncMessageFilter::SendMessageOnHelperThread, this)); |