Chromium Code Reviews| 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..af6252b4a26a4127bb0b26007e0e7fad988abcc7 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 users profile data directory. |
|
yzshen1
2012/11/21 00:38:59
users -> user's
raymes
2012/11/21 22:44:53
Done.
|
| + 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 |