diff options
Diffstat (limited to 'content/browser/ppapi_plugin_process_host.h')
-rw-r--r-- | content/browser/ppapi_plugin_process_host.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/content/browser/ppapi_plugin_process_host.h b/content/browser/ppapi_plugin_process_host.h index de57b52..3c6576c 100644 --- a/content/browser/ppapi_plugin_process_host.h +++ b/content/browser/ppapi_plugin_process_host.h @@ -80,6 +80,19 @@ class PpapiPluginProcessHost : public content::BrowserChildProcessHostDelegate, static PpapiPluginProcessHost* CreateBrokerHost( const content::PepperPluginInfo& info); + // Notification that a PP_Instance has been created for the given + // RenderView/Process pair for the given plugin. This is necessary so that + // when the plugin calls us with a PP_Instance we can find the RenderView + // associated with it without trusting the plugin. + static void DidCreateOutOfProcessInstance(int plugin_process_id, + int32 pp_instance, + int render_process_id, + int render_view_id); + + // The opposite of DIdCreate... above. + static void DidDeleteOutOfProcessInstance(int plugin_process_id, + int32 pp_instance); + // IPC::Sender implementation: virtual bool Send(IPC::Message* message) OVERRIDE; |