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 |