Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(836)

Unified Diff: content/browser/ppapi_plugin_process_host.h

Issue 10909138: Convert the async device ID getter to a chrome resource host (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/pepper/pepper_helper.cc ('k') | content/browser/ppapi_plugin_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/renderer/pepper/pepper_helper.cc ('k') | content/browser/ppapi_plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698