summaryrefslogtreecommitdiffstats
path: root/content/public/browser
diff options
context:
space:
mode:
Diffstat (limited to 'content/public/browser')
-rw-r--r--content/public/browser/browser_ppapi_host.h5
-rw-r--r--content/public/browser/content_browser_client.cc4
-rw-r--r--content/public/browser/content_browser_client.h3
3 files changed, 5 insertions, 7 deletions
diff --git a/content/public/browser/browser_ppapi_host.h b/content/public/browser/browser_ppapi_host.h
index febd0ea..f5aa11c 100644
--- a/content/public/browser/browser_ppapi_host.h
+++ b/content/public/browser/browser_ppapi_host.h
@@ -72,6 +72,11 @@ 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;
};
} // namespace content
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
index 05ddc93..c01dc06 100644
--- a/content/public/browser/content_browser_client.cc
+++ b/content/public/browser/content_browser_client.cc
@@ -250,10 +250,6 @@ bool ContentBrowserClient::AllowPepperSocketAPI(
return false;
}
-bool ContentBrowserClient::AllowPepperPrivateFileAPI() {
- return false;
-}
-
FilePath ContentBrowserClient::GetHyphenDictionaryDirectory() {
return FilePath();
}
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 7368ebb..373ec58 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -459,9 +459,6 @@ class CONTENT_EXPORT ContentBrowserClient {
const GURL& url,
const SocketPermissionRequest& params);
- // Returns true if renderer processes can use private Pepper File APIs.
- virtual bool AllowPepperPrivateFileAPI();
-
// Returns the directory containing hyphenation dictionaries.
virtual FilePath GetHyphenDictionaryDirectory();