Index: content/public/browser/browser_ppapi_host.h |
diff --git a/content/public/browser/browser_ppapi_host.h b/content/public/browser/browser_ppapi_host.h |
index a25a6d02318707a0cfddcf6e7c47115af0afbe22..aa9799071cd2460ab1fc02226121d90321348fe8 100644 |
--- a/content/public/browser/browser_ppapi_host.h |
+++ b/content/public/browser/browser_ppapi_host.h |
@@ -5,6 +5,9 @@ |
#ifndef CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_ |
#define CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_ |
+#include "base/process.h" |
+#include "content/common/content_export.h" |
+ |
namespace ppapi { |
namespace host { |
class PpapiHost; |
@@ -18,11 +21,14 @@ namespace content { |
// |
// There will be one of these objects in the browser per plugin process. It |
// lives entirely on the I/O thread. |
-class BrowserPpapiHost { |
+class CONTENT_EXPORT BrowserPpapiHost { |
public: |
// Returns the PpapiHost object. |
virtual ppapi::host::PpapiHost* GetPpapiHost() = 0; |
+ // Returns the handle to the plugin process. |
+ virtual base::ProcessHandle GetPluginProcessHandle() const = 0; |
+ |
protected: |
virtual ~BrowserPpapiHost() {} |
}; |