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); |