Index: content/browser/dom_storage/dom_storage_context_impl.h |
diff --git a/content/browser/dom_storage/dom_storage_context_impl.h b/content/browser/dom_storage/dom_storage_context_impl.h |
index b4771edf963d0509b80794fa1432663542db2767..884c9099125d60eb640398c716da7cb5225bae33 100644 |
--- a/content/browser/dom_storage/dom_storage_context_impl.h |
+++ b/content/browser/dom_storage/dom_storage_context_impl.h |
@@ -13,6 +13,10 @@ |
#include "content/public/browser/dom_storage_context.h" |
#include "webkit/dom_storage/dom_storage_types.h" |
+namespace content { |
+class SessionStorageNamespace; |
+} |
+ |
namespace dom_storage { |
class DomStorageContext; |
} |
@@ -29,7 +33,8 @@ class CONTENT_EXPORT DOMStorageContextImpl : |
public: |
// If |data_path| is empty, nothing will be saved to disk. |
DOMStorageContextImpl(const FilePath& data_path, |
- quota::SpecialStoragePolicy* special_storage_policy); |
+ quota::SpecialStoragePolicy* special_storage_policy, |
+ bool session_storage_on_disk); |
// DOMStorageContext implementation. |
virtual void GetAllStorageFiles( |
@@ -38,6 +43,10 @@ class CONTENT_EXPORT DOMStorageContextImpl : |
virtual void DeleteForOrigin(const string16& origin_id) OVERRIDE; |
virtual void DeleteLocalStorageFile(const FilePath& file_path) OVERRIDE; |
virtual void DeleteDataModifiedSince(const base::Time& cutoff) OVERRIDE; |
+ virtual void DoomSessionStorage(int64 namespace_id) OVERRIDE; |
+ |
+ virtual content::SessionStorageNamespace* CreateSessionStorage( |
+ const std::string& persistent_id) OVERRIDE; |
// Called to free up memory that's not strictly needed. |
void PurgeMemory(); |