Index: content/public/renderer/renderer_ppapi_host.h |
diff --git a/content/public/renderer/renderer_ppapi_host.h b/content/public/renderer/renderer_ppapi_host.h |
index 3cd550c2a3747b0159da64cd72d3fc0b34cd9264..27c1f1fc7ca8c060da08b642eea979e9aa4e75ac 100644 |
--- a/content/public/renderer/renderer_ppapi_host.h |
+++ b/content/public/renderer/renderer_ppapi_host.h |
@@ -7,6 +7,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/platform_file.h" |
+#include "base/process.h" |
#include "content/common/content_export.h" |
#include "ipc/ipc_platform_file.h" |
#include "ppapi/c/pp_instance.h" |
@@ -90,6 +91,10 @@ class RendererPpapiHost { |
virtual WebKit::WebPluginContainer* GetContainerForInstance( |
PP_Instance instance) const = 0; |
+ // Returns the PID of the child process containing the plugin. If running |
+ // in-process, this returns base::kNullProcessId. |
+ virtual base::ProcessId GetPluginPID() const = 0; |
+ |
// Returns the PlatformGraphics2D for the given plugin resource, or NULL if |
// the resource is invalid. |
virtual webkit::ppapi::PluginDelegate::PlatformGraphics2D* |