| 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 1af022879b2456c51f47717d92f995dd8d95bf55..70fe5164392e020611196083ca18e030b908ca33 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"
|
|
|
| @@ -29,7 +30,8 @@ class CONTENT_EXPORT BrowserPpapiHostImpl : public BrowserPpapiHost {
|
| BrowserPpapiHostImpl(IPC::Sender* sender,
|
| const ppapi::PpapiPermissions& permissions,
|
| const std::string& plugin_name,
|
| - const FilePath& profile_data_directory);
|
| + const FilePath& profile_data_directory,
|
| + ProcessType plugin_process_type);
|
| virtual ~BrowserPpapiHostImpl();
|
|
|
| // BrowserPpapiHost.
|
| @@ -48,6 +50,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 data
|
| // associated with the instance including view IDs in the browser process.
|
| @@ -84,6 +88,7 @@ class CONTENT_EXPORT BrowserPpapiHostImpl : public BrowserPpapiHost {
|
| base::ProcessHandle plugin_process_handle_;
|
| std::string plugin_name_;
|
| FilePath profile_data_directory_;
|
| + ProcessType plugin_process_type_;
|
|
|
| // Tracks all PP_Instances in this plugin and associated renderer-related
|
| // data.
|
|
|