diff options
Diffstat (limited to 'content/plugin')
-rw-r--r-- | content/plugin/plugin_channel.h | 2 | ||||
-rw-r--r-- | content/plugin/webplugin_delegate_stub.h | 11 |
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_; } |