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

Unified Diff: content/browser/mock_content_browser_client.h

Issue 7480041: Adding session-only localStorage. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Streamlining: Moving ResourceContext& from DOMStorageContext to DOMMessageFilter. Created 9 years, 4 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/browser/mock_content_browser_client.h
diff --git a/content/browser/mock_content_browser_client.h b/content/browser/mock_content_browser_client.h
index bcbdc715471182adc851e25956649ac757e381cf..b91414b3e911310591957480206f411f3d25288b 100644
--- a/content/browser/mock_content_browser_client.h
+++ b/content/browser/mock_content_browser_client.h
@@ -49,6 +49,10 @@ class MockContentBrowserClient : public ContentBrowserClient {
net::CookieOptions* options) OVERRIDE;
virtual bool AllowSaveLocalState(
const content::ResourceContext& context) OVERRIDE;
+ virtual bool EnforceSessionOnlyStorage(
+ const GURL& url,
+ const GURL& first_party,
+ const content::ResourceContext& context) OVERRIDE;
virtual net::URLRequestContext* OverrideRequestContextForURL(
const GURL& url, const content::ResourceContext& context) OVERRIDE;
virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE;
« no previous file with comments | « content/browser/in_process_webkit/dom_storage_namespace.cc ('k') | content/browser/mock_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698