Index: content/browser/renderer_host/pepper/browser_ppapi_host_impl.h |
diff --git a/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h b/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h |
index 77eb8a8c1ea47290c00a11dc3e08d2c3cb71d125..5fceb233b633a82eac3495135ea2e6132710ec62 100644 |
--- a/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h |
+++ b/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h |
@@ -14,6 +14,7 @@ |
#include "content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h" |
#include "content/common/content_export.h" |
#include "content/public/browser/browser_ppapi_host.h" |
+#include "content/public/common/process_type.h" |
#include "ipc/ipc_channel_proxy.h" |
#include "ppapi/host/ppapi_host.h" |
@@ -28,7 +29,8 @@ class CONTENT_EXPORT BrowserPpapiHostImpl : public BrowserPpapiHost { |
const ppapi::PpapiPermissions& permissions, |
const std::string& plugin_name, |
const FilePath& profile_data_directory, |
- int plugin_process_id); |
+ int plugin_process_id, |
+ ProcessType plugin_process_type); |
virtual ~BrowserPpapiHostImpl(); |
// BrowserPpapiHost. |
@@ -46,6 +48,8 @@ class CONTENT_EXPORT BrowserPpapiHostImpl : public BrowserPpapiHost { |
plugin_process_handle_ = handle; |
} |
+ ProcessType plugin_process_type() { return plugin_process_type_; } |
+ |
// These two functions are notifications that an instance has been created |
// or destroyed. They allow us to maintain a mapping of PP_Instance to view |
// IDs in the browser process. |
@@ -90,6 +94,7 @@ class CONTENT_EXPORT BrowserPpapiHostImpl : public BrowserPpapiHost { |
std::string plugin_name_; |
FilePath profile_data_directory_; |
int plugin_process_id_; |
+ ProcessType plugin_process_type_; |
// Tracks all PP_Instances in this plugin and maps them to |
// RenderProcess/RenderView IDs. |