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..3681f930d47611ab597d509e62221c5e593aaf31 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. |
+ // This is called on the IO thread. |
+ virtual bool AllowPluginLocalDataAccess( |
+ const GURL& site_url, |
+ const GURL& plugin_url, |
+ content::ResourceContext* context); |
+ |
+ // Returns whether plug-ins should keep locally stored data for the session |
+ // only. |
+ // 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); |