| Index: chrome/browser/renderer_host/pepper/pepper_flash_browser_host.h
|
| diff --git a/chrome/browser/renderer_host/pepper/pepper_flash_browser_host.h b/chrome/browser/renderer_host/pepper/pepper_flash_browser_host.h
|
| index 6b38c368941fb9eb22dad05f7e4e2daadd88f8d9..4bb3b9756395a69c06af46d1e50a97bd94dcb434 100644
|
| --- a/chrome/browser/renderer_host/pepper/pepper_flash_browser_host.h
|
| +++ b/chrome/browser/renderer_host/pepper/pepper_flash_browser_host.h
|
| @@ -6,7 +6,9 @@
|
| #define CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_BROWSER_HOST_H_
|
|
|
| #include "base/basictypes.h"
|
| +#include "base/memory/ref_counted.h"
|
| #include "base/memory/weak_ptr.h"
|
| +#include "ppapi/c/private/ppb_flash.h"
|
| #include "ppapi/host/host_message_context.h"
|
| #include "ppapi/host/resource_host.h"
|
|
|
| @@ -14,9 +16,12 @@ namespace base {
|
| class Time;
|
| }
|
|
|
| +namespace chrome {
|
| +class FlashLSOSettingsHelper;
|
| +}
|
| +
|
| namespace content {
|
| class BrowserPpapiHost;
|
| -class ResourceContext;
|
| }
|
|
|
| class GURL;
|
| @@ -43,16 +48,13 @@ class PepperFlashBrowserHost : public ppapi::host::ResourceHost {
|
| int32_t OnMsgGetLocalDataRestrictions(
|
| ppapi::host::HostMessageContext* context);
|
|
|
| - void GetLocalDataRestrictions(ppapi::host::ReplyMessageContext reply_context,
|
| - const GURL& document_url,
|
| - const GURL& plugin_url,
|
| - content::ResourceContext* resource_context);
|
| + void OnGetLocalDataRestrictions(
|
| + ppapi::host::ReplyMessageContext reply_context,
|
| + PP_FlashLSORestrictions restrictions);
|
|
|
| content::BrowserPpapiHost* host_;
|
| - int render_process_id_;
|
| - // For fetching the Flash LSO settings.
|
| - content::ResourceContext* resource_context_;
|
| base::WeakPtrFactory<PepperFlashBrowserHost> weak_factory_;
|
| + scoped_refptr<FlashLSOSettingsHelper> lso_settings_helper_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(PepperFlashBrowserHost);
|
| };
|
|
|