| Index: content/browser/renderer_host/pepper/browser_ppapi_host_impl.h
|
| diff --git a/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h b/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h
|
| index 2bedbdab583f56c3033674f8c0bb4b9854f40095..062755a398b8c3401e9c132bb068c6455a76dbbd 100644
|
| --- a/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h
|
| +++ b/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h
|
| @@ -9,7 +9,7 @@
|
| #include "base/compiler_specific.h"
|
| #include "content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h"
|
| #include "content/public/browser/browser_ppapi_host.h"
|
| -#include "ipc/ipc_listener.h"
|
| +#include "ipc/ipc_channel_proxy.h"
|
| #include "ppapi/host/ppapi_host.h"
|
|
|
| namespace IPC {
|
| @@ -18,19 +18,21 @@ class Sender;
|
|
|
| namespace content {
|
|
|
| -class BrowserPpapiHostImpl : public BrowserPpapiHost, public IPC::Listener {
|
| +class BrowserPpapiHostImpl : public BrowserPpapiHost,
|
| + public IPC::ChannelProxy::MessageFilter {
|
| public:
|
| BrowserPpapiHostImpl(IPC::Sender* sender,
|
| const ppapi::PpapiPermissions& permissions);
|
| - virtual ~BrowserPpapiHostImpl();
|
|
|
| - // IPC::Listener.
|
| + // IPC::ChannelProxy::MessageFilter.
|
| virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
|
|
|
| // BrowserPpapiHost.
|
| virtual ppapi::host::PpapiHost* GetPpapiHost() OVERRIDE;
|
|
|
| private:
|
| + virtual ~BrowserPpapiHostImpl();
|
| +
|
| ContentBrowserPepperHostFactory host_factory_;
|
| ppapi::host::PpapiHost ppapi_host_;
|
|
|
|
|