Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Unified Diff: content/public/browser/browser_ppapi_host.h

Issue 11359097: Refactored the PPB_Flash_File_ModuleLocal/FileRef to the new ppapi resource model (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698