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