summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_test_sink.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-29 22:05:26 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-29 22:05:26 +0000
commitb7f59e82e6325597b4a13a3f64e0c56d1520a5e6 (patch)
tree119368c241c931dd9122d3159e9bfc540d577807 /ipc/ipc_test_sink.h
parent5c23e954bbd14f139cc82846d55cd0fba5e1a9de (diff)
downloadchromium_src-b7f59e82e6325597b4a13a3f64e0c56d1520a5e6.zip
chromium_src-b7f59e82e6325597b4a13a3f64e0c56d1520a5e6.tar.gz
chromium_src-b7f59e82e6325597b4a13a3f64e0c56d1520a5e6.tar.bz2
Remove Message::Sender and Channel::Listener typedefs.
This patch fixes the remaining users to use the new names for these classes. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10698057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145005 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_test_sink.h')
-rw-r--r--ipc/ipc_test_sink.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ipc/ipc_test_sink.h b/ipc/ipc_test_sink.h
index 735fa1b..1cdac2a 100644
--- a/ipc/ipc_test_sink.h
+++ b/ipc/ipc_test_sink.h
@@ -53,7 +53,7 @@ class Message;
// This can be useful if you need to wait for a particular message that will
// be posted asynchronously. Example usage:
//
-// class MyListener : public IPC::Channel::Listener {
+// class MyListener : public IPC::Listener {
// public:
// virtual bool OnMessageReceived(const IPC::Message& msg) {
// <do something with the message>
@@ -112,15 +112,15 @@ class TestSink : public Channel {
// the filters, in the order they were added. If a filter returns true
// from OnMessageReceived, subsequent filters will not receive the message
// and the TestSink will not store it.
- void AddFilter(Channel::Listener* filter);
+ void AddFilter(Listener* filter);
// Removes the given filter from the TestSink.
- void RemoveFilter(Channel::Listener* filter);
+ void RemoveFilter(Listener* filter);
private:
// The actual list of received messages.
std::vector<Message> messages_;
- ObserverList<Channel::Listener> filter_list_;
+ ObserverList<Listener> filter_list_;
DISALLOW_COPY_AND_ASSIGN(TestSink);
};