Index: content/browser/ppapi_plugin_process_host.h |
diff --git a/content/browser/ppapi_plugin_process_host.h b/content/browser/ppapi_plugin_process_host.h |
index de57b52b88e9569fcd73e4a1f609809bc97046a0..3c6576c61d267e6a42dacc20b1bfab11f40568cf 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; |