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

Unified Diff: content/public/browser/browser_context.h

Issue 9963107: Persist sessionStorage on disk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review. Created 8 years, 6 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/public/browser/browser_context.h
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
index 7a4577e4bc7e5df7de6261bcf5f4513205269964..d2abde8e8b7c0e22f63234b72e95fc231d4c0db4 100644
--- a/content/public/browser/browser_context.h
+++ b/content/public/browser/browser_context.h
@@ -120,6 +120,11 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
// Returns a special storage policy implementation, or NULL.
virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() = 0;
+
+ // Returns true if the sessionStorage should be backed on disk. TODO(marja):
+ // Remove this when the "session storage on disk" implementation has
+ // stabilized.
+ virtual bool ShouldSaveSessionStorageOnDisk() = 0;
michaeln 2012/06/05 01:41:07 There's a bunch of indirection with 'should save'
marja 2012/06/06 13:37:10 Done. The flag is in DOMStorageContextImpl ctor.
michaeln 2012/06/08 01:04:20 Drat, I think i may have given you a bum steer aro
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698