summaryrefslogtreecommitdiffstats
path: root/content/common/webmessageportchannel_impl.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-25 17:03:10 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-25 17:03:10 +0000
commitd84effeba573f3362b2cd297e86e90ec55f99cfc (patch)
tree57ad855f15ab544aa6bb4b829a13afb825eb951c /content/common/webmessageportchannel_impl.h
parent980ad60a008062fa7c9880ad5cdc8790be959afa (diff)
downloadchromium_src-d84effeba573f3362b2cd297e86e90ec55f99cfc.zip
chromium_src-d84effeba573f3362b2cd297e86e90ec55f99cfc.tar.gz
chromium_src-d84effeba573f3362b2cd297e86e90ec55f99cfc.tar.bz2
Use IPC::Sender and IPC::Listener in content.
This replaces uses of IPC::Message::Sender with IPC::Sender and IPC::Channel::Listener with IPC::Listener. I also fixed up header files where it was obvious. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10662005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143920 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/webmessageportchannel_impl.h')
-rw-r--r--content/common/webmessageportchannel_impl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/common/webmessageportchannel_impl.h b/content/common/webmessageportchannel_impl.h
index a47ba24..f7ff131 100644
--- a/content/common/webmessageportchannel_impl.h
+++ b/content/common/webmessageportchannel_impl.h
@@ -13,13 +13,13 @@
#include "base/memory/ref_counted.h"
#include "base/string16.h"
#include "base/synchronization/lock.h"
-#include "ipc/ipc_channel.h"
+#include "ipc/ipc_listener.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebMessagePortChannel.h"
// This is thread safe.
class WebMessagePortChannelImpl
: public WebKit::WebMessagePortChannel,
- public IPC::Channel::Listener,
+ public IPC::Listener,
public base::RefCountedThreadSafe<WebMessagePortChannelImpl> {
public:
WebMessagePortChannelImpl();
@@ -47,7 +47,7 @@ class WebMessagePortChannelImpl
void Entangle(scoped_refptr<WebMessagePortChannelImpl> channel);
void Send(IPC::Message* message);
- // IPC::Channel::Listener implementation.
+ // IPC::Listener implementation.
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
void OnMessage(const string16& message,