summaryrefslogtreecommitdiffstats
path: root/content/plugin
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/plugin
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/plugin')
-rw-r--r--content/plugin/plugin_channel.h2
-rw-r--r--content/plugin/webplugin_delegate_stub.h11
2 files changed, 7 insertions, 6 deletions
diff --git a/content/plugin/plugin_channel.h b/content/plugin/plugin_channel.h
index ed9e215..7974018 100644
--- a/content/plugin/plugin_channel.h
+++ b/content/plugin/plugin_channel.h
@@ -31,7 +31,7 @@ class PluginChannel : public NPChannelBase {
// Send a message to all renderers that the process is going to shutdown.
static void NotifyRenderersOfPendingShutdown();
- // IPC::Channel::Listener:
+ // IPC::Listener:
virtual bool Send(IPC::Message* msg) OVERRIDE;
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
virtual void OnChannelError() OVERRIDE;
diff --git a/content/plugin/webplugin_delegate_stub.h b/content/plugin/webplugin_delegate_stub.h
index deddd49..5196523 100644
--- a/content/plugin/webplugin_delegate_stub.h
+++ b/content/plugin/webplugin_delegate_stub.h
@@ -12,7 +12,8 @@
#include "base/memory/ref_counted.h"
#include "content/common/npobject_stub.h"
#include "googleurl/src/gurl.h"
-#include "ipc/ipc_channel.h"
+#include "ipc/ipc_listener.h"
+#include "ipc/ipc_sender.h"
#include "third_party/npapi/bindings/npapi.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/rect.h"
@@ -36,17 +37,17 @@ class WebPluginDelegateImpl;
// Converts the IPC messages from WebPluginDelegateProxy into calls to the
// actual WebPluginDelegateImpl object.
-class WebPluginDelegateStub : public IPC::Channel::Listener,
- public IPC::Message::Sender,
+class WebPluginDelegateStub : public IPC::Listener,
+ public IPC::Sender,
public base::RefCounted<WebPluginDelegateStub> {
public:
WebPluginDelegateStub(const std::string& mime_type, int instance_id,
PluginChannel* channel);
- // IPC::Channel::Listener implementation:
+ // IPC::Listener implementation:
virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
- // IPC::Message::Sender implementation:
+ // IPC::Sender implementation:
virtual bool Send(IPC::Message* msg) OVERRIDE;
int instance_id() { return instance_id_; }