| Index: ppapi/proxy/flash_resource.h
|
| diff --git a/ppapi/proxy/flash_resource.h b/ppapi/proxy/flash_resource.h
|
| index f970aed86774a892bcb774abf9e1e9defebe0218..547665b945e95f8ce5fa2ad0ef0dd05c06241e00 100644
|
| --- a/ppapi/proxy/flash_resource.h
|
| +++ b/ppapi/proxy/flash_resource.h
|
| @@ -16,11 +16,15 @@
|
| namespace ppapi {
|
| namespace proxy {
|
|
|
| +class PluginDispatcher;
|
| +
|
| class PPAPI_PROXY_EXPORT FlashResource
|
| : public PluginResource,
|
| public NON_EXPORTED_BASE(thunk::PPB_Flash_Functions_API) {
|
| public:
|
| - FlashResource(Connection connection, PP_Instance instance);
|
| + FlashResource(Connection connection,
|
| + PP_Instance instance,
|
| + PluginDispatcher* plugin_dispatcher);
|
| virtual ~FlashResource();
|
|
|
| // Resource override.
|
| @@ -33,7 +37,13 @@ class PPAPI_PROXY_EXPORT FlashResource
|
| virtual PP_Bool SetCrashData(PP_Instance instance,
|
| PP_FlashCrashKey key,
|
| PP_Var value) OVERRIDE;
|
| + virtual PP_Var GetSetting(PP_Instance instance,
|
| + PP_FlashSetting setting) OVERRIDE;
|
| +
|
| private:
|
| + // Non-owning pointer to the PluginDispatcher that owns this object.
|
| + PluginDispatcher* plugin_dispatcher_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(FlashResource);
|
| };
|
|
|
|
|