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 febd0ea78d16f6ccee79b27019ba406bb42d561c..2dbdfe30205d346f14047f97086d13396dda7a90 100644 |
--- a/content/public/browser/browser_ppapi_host.h |
+++ b/content/public/browser/browser_ppapi_host.h |
@@ -44,6 +44,7 @@ class CONTENT_EXPORT BrowserPpapiHost { |
IPC::Sender* sender, |
ppapi::PpapiPermissions permissions, |
base::ProcessHandle plugin_child_process, |
+ int plugin_child_process_id, |
IPC::ChannelProxy* channel, |
net::HostResolver* host_resolver, |
int render_process_id, |
@@ -72,6 +73,14 @@ class CONTENT_EXPORT BrowserPpapiHost { |
virtual bool GetRenderViewIDsForInstance(PP_Instance instance, |
int* render_process_id, |
int* render_view_id) const = 0; |
+ // Returns the name of the plugin. |
+ virtual const std::string& GetPluginName() = 0; |
+ |
+ // Returns the user's profile data directory. |
+ virtual const FilePath& GetProfileDataDirectory() = 0; |
+ |
+ // Returns the unique id of the child plugin process (this is NOT the pid). |
+ virtual int GetPluginProcessID() = 0; |
}; |
} // namespace content |