summaryrefslogtreecommitdiffstats
path: root/content/common/npobject_stub.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/npobject_stub.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/npobject_stub.h')
-rw-r--r--content/common/npobject_stub.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/content/common/npobject_stub.h b/content/common/npobject_stub.h
index 6721a6f..189fdab 100644
--- a/content/common/npobject_stub.h
+++ b/content/common/npobject_stub.h
@@ -15,7 +15,8 @@
#include "base/memory/weak_ptr.h"
#include "content/common/npobject_base.h"
#include "googleurl/src/gurl.h"
-#include "ipc/ipc_channel.h"
+#include "ipc/ipc_listener.h"
+#include "ipc/ipc_sender.h"
#include "ui/gfx/native_widget_types.h"
class NPChannelBase;
@@ -26,8 +27,8 @@ struct NPVariant_Param;
// This wraps an NPObject and converts IPC messages from NPObjectProxy to calls
// to the object. The results are marshalled back. See npobject_proxy.h for
// more information.
-class NPObjectStub : public IPC::Channel::Listener,
- public IPC::Message::Sender,
+class NPObjectStub : public IPC::Listener,
+ public IPC::Sender,
public base::SupportsWeakPtr<NPObjectStub>,
public NPObjectBase {
public:
@@ -45,15 +46,15 @@ class NPObjectStub : public IPC::Channel::Listener,
// more than once, until control returns to the main loop.
void DeleteSoon();
- // IPC::Message::Sender implementation:
+ // IPC::Sender implementation:
virtual bool Send(IPC::Message* msg) OVERRIDE;
// NPObjectBase implementation.
virtual NPObject* GetUnderlyingNPObject() OVERRIDE;
- virtual IPC::Channel::Listener* GetChannelListener() OVERRIDE;
+ virtual IPC::Listener* GetChannelListener() OVERRIDE;
private:
- // IPC::Channel::Listener implementation:
+ // IPC::Listener implementation:
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
virtual void OnChannelError() OVERRIDE;