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

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 & fixes. Created 8 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/public/browser/browser_context.h
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
index f92d6b42c389b1620c235165f4b1a2dfa6643ee3..ee9fc5b02275866d7a3db593b6477ebb99474f8f 100644
--- a/content/public/browser/browser_context.h
+++ b/content/public/browser/browser_context.h
@@ -123,6 +123,10 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
// Returns a special storage policy implementation, or NULL.
virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() = 0;
+
+ // Returns true if sessionStorage should be saved on disk. If |IsOffTheRecord|
+ // is true, it won't be saved even if this returns true.
+ virtual bool ShouldSaveSessionStorageOnDisk() const;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698