summaryrefslogtreecommitdiffstats
path: root/chromium/ppapi/proxy/plugin_message_filter.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ppapi/proxy/plugin_message_filter.h')
-rw-r--r--chromium/ppapi/proxy/plugin_message_filter.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/chromium/ppapi/proxy/plugin_message_filter.h b/chromium/ppapi/proxy/plugin_message_filter.h
index 646900724a2..4018ffcc9e1 100644
--- a/chromium/ppapi/proxy/plugin_message_filter.h
+++ b/chromium/ppapi/proxy/plugin_message_filter.h
@@ -9,8 +9,8 @@
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
-#include "ipc/ipc_channel_proxy.h"
#include "ipc/ipc_sender.h"
+#include "ipc/message_filter.h"
#include "ppapi/c/pp_instance.h"
#include "ppapi/proxy/ppapi_proxy_export.h"
@@ -25,9 +25,8 @@ class ResourceReplyThreadRegistrar;
//
// There is one instance of this class for each renderer channel (same as for
// the PluginDispatchers).
-class PPAPI_PROXY_EXPORT PluginMessageFilter
- : public IPC::ChannelProxy::MessageFilter,
- public IPC::Sender {
+class PPAPI_PROXY_EXPORT PluginMessageFilter : public IPC::MessageFilter,
+ public IPC::Sender {
public:
// |seen_instance_ids| is a pointer to a set that will be used to uniquify
// PP_Instances across all renderer channels. The same pointer should be
@@ -42,7 +41,7 @@ class PPAPI_PROXY_EXPORT PluginMessageFilter
virtual ~PluginMessageFilter();
// MessageFilter implementation.
- virtual void OnFilterAdded(IPC::Channel* channel) OVERRIDE;
+ virtual void OnFilterAdded(IPC::Sender* sender) OVERRIDE;
virtual void OnFilterRemoved() OVERRIDE;
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
@@ -73,9 +72,9 @@ class PPAPI_PROXY_EXPORT PluginMessageFilter
scoped_refptr<ResourceReplyThreadRegistrar> resource_reply_thread_registrar_;
- // The IPC channel to the renderer. May be NULL if we're not currently
+ // The IPC sender to the renderer. May be NULL if we're not currently
// attached as a filter.
- IPC::Channel* channel_;
+ IPC::Sender* sender_;
};
} // namespace proxy