| Index: content/browser/renderer_host/pepper/pepper_flash_browser_host.h
|
| diff --git a/content/browser/renderer_host/pepper/pepper_flash_browser_host.h b/content/browser/renderer_host/pepper/pepper_flash_browser_host.h
|
| index 307fe944d406355556e715a9d35b5e918d6f84ab..e4ae10a0a56b98c6c31de1bdbadb2a1af94680e2 100644
|
| --- a/content/browser/renderer_host/pepper/pepper_flash_browser_host.h
|
| +++ b/content/browser/renderer_host/pepper/pepper_flash_browser_host.h
|
| @@ -6,14 +6,20 @@
|
| #define CONTENT_RENDERER_PEPPER_PEPPER_FLASH_BROWSER_HOST_H_
|
|
|
| #include "base/basictypes.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "ppapi/host/host_message_context.h"
|
| #include "ppapi/host/resource_host.h"
|
|
|
| +class GURL;
|
| +
|
| namespace content {
|
|
|
| class BrowserPpapiHost;
|
| +class ResourceContext;
|
|
|
| -class PepperFlashBrowserHost : public ppapi::host::ResourceHost {
|
| +class PepperFlashBrowserHost
|
| + : public ppapi::host::ResourceHost,
|
| + public base::SupportsWeakPtr<PepperFlashBrowserHost> {
|
| public:
|
| PepperFlashBrowserHost(BrowserPpapiHost* host,
|
| PP_Instance instance,
|
| @@ -27,6 +33,17 @@ class PepperFlashBrowserHost : public ppapi::host::ResourceHost {
|
|
|
| private:
|
| int32_t OnMsgUpdateActivity(ppapi::host::HostMessageContext* host_context);
|
| + int32_t OnMsgGetLocalDataRestrictions(
|
| + ppapi::host::HostMessageContext* context);
|
| +
|
| + void GetLocalDataRestrictions(ppapi::host::ReplyMessageContext reply_context,
|
| + const GURL& document_url,
|
| + const GURL& plugin_url,
|
| + ResourceContext* resource_context);
|
| +
|
| + BrowserPpapiHost* host_;
|
| + int render_process_id_;
|
| + ResourceContext* resource_context_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(PepperFlashBrowserHost);
|
| };
|
|
|