Chromium Code Reviews| 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..f494700efe29fc7210e0964db6b27fa0bc33f928 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,9 @@ 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, |
| + const scoped_refptr<PepperMessageFilter>& pepper_message_filter); |
|
yzshen1
2013/07/19 23:51:58
Please add a TODO that we should remove this param
ygorshenin1
2013/07/29 14:03:57
Done.
|
| virtual ~ContentBrowserPepperHostFactory(); |
| virtual scoped_ptr<ppapi::host::ResourceHost> CreateResourceHost( |
| @@ -34,6 +38,8 @@ class ContentBrowserPepperHostFactory : public ppapi::host::HostFactory { |
| // Non-owning pointer. |
| BrowserPpapiHostImpl* host_; |
| + scoped_refptr<PepperMessageFilter> pepper_message_filter_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(ContentBrowserPepperHostFactory); |
| }; |