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

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: Adding tests. Created 9 years, 5 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..560a246527a277831dcd5004432eea309175a39a 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 AllowPermanentStorage(
+ 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;

Powered by Google App Engine
This is Rietveld 408576698