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 8306012b77202c8d0443203f6e27bdf2bc0cb3f7..2959997036c82e125607df01fe52b51a6861b92f 100644 |
--- a/content/browser/renderer_host/pepper/pepper_flash_browser_host.h |
+++ b/content/browser/renderer_host/pepper/pepper_flash_browser_host.h |
@@ -6,6 +6,7 @@ |
#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" |
@@ -13,9 +14,12 @@ namespace base { |
class Time; |
} |
+class GURL; |
+ |
namespace content { |
class BrowserPpapiHost; |
+class ResourceContext; |
class PepperFlashBrowserHost : public ppapi::host::ResourceHost { |
public: |
@@ -34,6 +38,18 @@ class PepperFlashBrowserHost : public ppapi::host::ResourceHost { |
int32_t OnMsgGetLocalTimeZoneOffset( |
ppapi::host::HostMessageContext* host_context, |
const base::Time& t); |
+ 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_; // For fetching the Flash LSO settings. |
+ base::WeakPtrFactory<PepperFlashBrowserHost> weak_factory_; |
DISALLOW_COPY_AND_ASSIGN(PepperFlashBrowserHost); |
}; |