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 bee35a695fe32bbc4ff46a72d183675d7d9c5e5a..888bb7c008eb1afb58d81dc9580a1724c2ea016a 100644 |
--- a/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h |
+++ b/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h |
@@ -6,9 +6,11 @@ |
#define CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_ |
#include <map> |
+#include <string> |
#include "base/basictypes.h" |
#include "base/compiler_specific.h" |
+#include "base/file_path.h" |
#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" |
@@ -23,7 +25,9 @@ class CONTENT_EXPORT BrowserPpapiHostImpl : public BrowserPpapiHost { |
// as it is known (we start the process asynchronously so it won't be known |
// when this object is created). |
BrowserPpapiHostImpl(IPC::Sender* sender, |
- const ppapi::PpapiPermissions& permissions); |
+ const ppapi::PpapiPermissions& permissions, |
+ const std::string& plugin_name, |
+ const FilePath& profile_data_directory); |
virtual ~BrowserPpapiHostImpl(); |
// BrowserPpapiHost. |
@@ -33,6 +37,8 @@ class CONTENT_EXPORT BrowserPpapiHostImpl : public BrowserPpapiHost { |
virtual bool GetRenderViewIDsForInstance(PP_Instance instance, |
int* render_process_id, |
int* render_view_id) const OVERRIDE; |
+ virtual const std::string& GetPluginName() OVERRIDE; |
+ virtual const FilePath& GetProfileDataDirectory() OVERRIDE; |
void set_plugin_process_handle(base::ProcessHandle handle) { |
plugin_process_handle_ = handle; |
@@ -79,6 +85,8 @@ class CONTENT_EXPORT BrowserPpapiHostImpl : public BrowserPpapiHost { |
ppapi::host::PpapiHost ppapi_host_; |
base::ProcessHandle plugin_process_handle_; |
+ std::string plugin_name_; |
+ FilePath profile_data_directory_; |
// Tracks all PP_Instances in this plugin and maps them to |
// RenderProcess/RenderView IDs. |