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

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, 7 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
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..a1d738350af48cf0d331ca24912ecdadd4d9bb2a 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
+ // of process. Returns 0 otherwise. This is the ID that the browser process
yzshen1 2013/05/29 17:57:21 two 'of'.
raymes 2013/06/04 04:11:11 Done.
+ // 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

Powered by Google App Engine
This is Rietveld 408576698