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

Unified Diff: webkit/plugins/ppapi/plugin_module.h

Issue 15947004: Allow renderer to create pepper ResourceHosts in the browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « webkit/plugins/ppapi/plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/plugin_module.h
diff --git a/webkit/plugins/ppapi/plugin_module.h b/webkit/plugins/ppapi/plugin_module.h
index 7c11f7e26ab2de086b8dc10e0e6f327117c7871a..fdc03a277ae7cf39255b9a151014080b93efe21b 100644
--- a/webkit/plugins/ppapi/plugin_module.h
+++ b/webkit/plugins/ppapi/plugin_module.h
@@ -129,6 +129,13 @@ class WEBKIT_PLUGINS_EXPORT PluginModule :
// returns |base::kNullProcessId| otherwise.
base::ProcessId GetPeerProcessId();
+ // Returns the plugin child process ID if the plugin is running out of
+ // process. Returns 0 otherwise. This is the ID that the browser process uses
+ // to idetify the child process for the plugin. This isn't directly useful
+ // from our process (the renderer) except in messages to the browser to
+ // disambiguate plugins.
+ int GetPluginChildId();
+
static const PPB_Core* GetCore();
// Returns a pointer to the local GetInterface function for retrieving
« no previous file with comments | « webkit/plugins/ppapi/plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698