diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-11 22:35:26 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-11 22:35:26 +0000 |
commit | 57319cecbf1277567dbd0328fab1ccb741f022ac (patch) | |
tree | 24f52f0c4dd774a09c8a3d7ae5ae781e83e1ec27 /ipc/ipc_sync_channel_unittest.cc | |
parent | 354d49aec9a0bbae84a558bc2cddf4ccb200f955 (diff) | |
download | chromium_src-57319cecbf1277567dbd0328fab1ccb741f022ac.zip chromium_src-57319cecbf1277567dbd0328fab1ccb741f022ac.tar.gz chromium_src-57319cecbf1277567dbd0328fab1ccb741f022ac.tar.bz2 |
Separate out IPC::Message::Sender and Channel::Listener into a separate class.
I fixed the places that did IPC::Channel::Sender (I don't even know how this compiled, but I presume this means the "Sender" base class of the "Channel" which ends up being right).
We can fix the other users of this later.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10541065
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141534 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, 3 insertions, 1 deletions
diff --git a/ipc/ipc_sync_channel_unittest.cc b/ipc/ipc_sync_channel_unittest.cc index 7f0a7ab..a42196b 100644 --- a/ipc/ipc_sync_channel_unittest.cc +++ b/ipc/ipc_sync_channel_unittest.cc @@ -21,7 +21,9 @@ #include "base/threading/platform_thread.h" #include "base/threading/thread.h" #include "base/synchronization/waitable_event.h" +#include "ipc/ipc_listener.h" #include "ipc/ipc_message.h" +#include "ipc/ipc_sender.h" #include "ipc/ipc_sync_message_filter.h" #include "ipc/ipc_sync_message_unittest.h" #include "testing/gtest/include/gtest/gtest.h" @@ -33,7 +35,7 @@ namespace IPC { namespace { // Base class for a "process" with listener and IPC threads. -class Worker : public Channel::Listener, public Message::Sender { +class Worker : public Listener, public Sender { public: // Will create a channel without a name. Worker(Channel::Mode mode, const std::string& thread_name) |