diff options
Diffstat (limited to 'webkit/plugins/ppapi/plugin_module.h')
-rw-r--r-- | webkit/plugins/ppapi/plugin_module.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/plugins/ppapi/plugin_module.h b/webkit/plugins/ppapi/plugin_module.h index dabd032..e462f3a 100644 --- a/webkit/plugins/ppapi/plugin_module.h +++ b/webkit/plugins/ppapi/plugin_module.h @@ -145,6 +145,9 @@ class PluginModule : public base::RefCounted<PluginModule>, PP_Bool (*reserve)(PP_Module, PP_Instance)); bool ReserveInstanceID(PP_Instance instance); + void SetBroker(scoped_refptr<PluginDelegate::PpapiBroker> broker); + scoped_refptr<PluginDelegate::PpapiBroker> GetBroker(); + private: // Calls the InitializeModule entrypoint. The entrypoint must have been // set and the plugin must not be out of process (we don't maintain @@ -167,6 +170,9 @@ class PluginModule : public base::RefCounted<PluginModule>, // entry_points_ aren't valid. scoped_ptr<PluginDelegate::OutOfProcessProxy> out_of_process_proxy_; + // Trusted broker for this plugin module. + scoped_refptr<PluginDelegate::PpapiBroker> broker_; + // Holds a reference to the base::NativeLibrary handle if this PluginModule // instance wraps functions loaded from a library. Can be NULL. If // |library_| is non-NULL, PluginModule will attempt to unload the library |