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 |