Index: content/browser/content_browser_client.h |
diff --git a/content/browser/content_browser_client.h b/content/browser/content_browser_client.h |
index b4ff3953269850e660580c1b3e5412cc4da5281f..1dbf1fd0d1506620c2cb44a153c9b122d3a9b805 100644 |
--- a/content/browser/content_browser_client.h |
+++ b/content/browser/content_browser_client.h |
@@ -148,6 +148,13 @@ class ContentBrowserClient { |
virtual bool AllowSaveLocalState( |
const content::ResourceContext& context) = 0; |
+ // Allow the embedder to restrict the given url to use only session-only |
+ // storage. |
+ virtual bool EnforceSessionOnlyStorage( |
+ const GURL& url, |
+ const GURL& first_party, |
+ const content::ResourceContext& context) = 0; |
+ |
// Allows the embedder to override the request context based on the URL for |
// certain operations, like cookie access. Returns NULL to indicate the |
// regular request context should be used. |