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

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: fix 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
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..12e76efbfaa796d5b0f485155a9c2f06a9effe75 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.
viettrungluu 2012/08/01 13:57:14 Maybe you should indicate the behavior of the defa
Bernhard Bauer 2012/08/02 03:54:08 Done.
+ // 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.
viettrungluu 2012/08/01 13:57:14 "
+ // 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);

Powered by Google App Engine
This is Rietveld 408576698