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

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

Issue 10831045: Add PP_FlashLSORestrictions to the list of settings supported by the Flash_GetSetting Pepper API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: brett Created 8 years, 5 months 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
« no previous file with comments | « content/common/pepper_messages.h ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 01b26e1f158412c0efeb3fe1dfaeb26f12889b01..f5e684979b879e2c627956011e3d03c741494e40 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -207,6 +207,21 @@ class CONTENT_EXPORT ContentBrowserClient {
int render_view_id,
net::CookieOptions* options);
+ // Returns whether plug-ins should access locally stored data or whether all
+ // access should be blocked. The default is to allow local data access.
+ // This is called on the IO thread.
+ virtual bool AllowPluginLocalDataAccess(
+ const GURL& document_url,
+ const GURL& plugin_url,
+ content::ResourceContext* context);
+
+ // Returns whether plug-ins should keep locally stored data for the session
+ // only. The default is to store local data permanently.
+ // This is called on the IO thread.
+ virtual bool AllowPluginLocalDataSessionOnly(
+ const GURL& url,
+ content::ResourceContext* context);
+
// This is called on the IO thread.
virtual bool AllowSaveLocalState(ResourceContext* context);
« no previous file with comments | « content/common/pepper_messages.h ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698