| Index: content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h
|
| diff --git a/content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h b/content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h
|
| index c49dfed44ef9e0ae9ed171efc4247afebec6d16c..e39ec35d858da4f1641dd68fcb2690af42515150 100644
|
| --- a/content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h
|
| +++ b/content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h
|
| @@ -6,6 +6,8 @@
|
| #define CONTENT_BROWSER_PEPPER_CONTENT_BROWSER_PEPPER_HOST_FACTORY_H_
|
|
|
| #include "base/compiler_specific.h"
|
| +#include "base/memory/ref_counted.h"
|
| +#include "content/browser/renderer_host/pepper/pepper_message_filter.h"
|
| #include "ppapi/host/host_factory.h"
|
|
|
| namespace ppapi {
|
| @@ -19,7 +21,11 @@ class BrowserPpapiHostImpl;
|
| class ContentBrowserPepperHostFactory : public ppapi::host::HostFactory {
|
| public:
|
| // Non-owning pointer to the filter must outlive this class.
|
| - explicit ContentBrowserPepperHostFactory(BrowserPpapiHostImpl* host);
|
| + ContentBrowserPepperHostFactory(
|
| + BrowserPpapiHostImpl* host,
|
| + // TODO (ygorshenin@): remove this once TCP sockets are
|
| + // converted to the new design.
|
| + const scoped_refptr<PepperMessageFilter>& pepper_message_filter);
|
| virtual ~ContentBrowserPepperHostFactory();
|
|
|
| virtual scoped_ptr<ppapi::host::ResourceHost> CreateResourceHost(
|
| @@ -34,6 +40,8 @@ class ContentBrowserPepperHostFactory : public ppapi::host::HostFactory {
|
| // Non-owning pointer.
|
| BrowserPpapiHostImpl* host_;
|
|
|
| + scoped_refptr<PepperMessageFilter> pepper_message_filter_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ContentBrowserPepperHostFactory);
|
| };
|
|
|
|
|