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

Unified Diff: webkit/dom_storage/dom_storage_context.h

Issue 9963107: Persist sessionStorage on disk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup. Created 8 years, 8 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: webkit/dom_storage/dom_storage_context.h
diff --git a/webkit/dom_storage/dom_storage_context.h b/webkit/dom_storage/dom_storage_context.h
index 3bcc6ca4a091e442be88d1be127e6665e8489056..7a1d86ada742fd58f921b3b5204de65ef7458fdd 100644
--- a/webkit/dom_storage/dom_storage_context.h
+++ b/webkit/dom_storage/dom_storage_context.h
@@ -35,6 +35,7 @@ class DomStorageArea;
class DomStorageNamespace;
class DomStorageSession;
class DomStorageTaskRunner;
+class SessionStorageDatabase;
// The Context is the root of an object containment hierachy for
// Namespaces and Areas related to the owning profile.
@@ -169,6 +170,9 @@ class DomStorageContext
void ClearLocalStateInCommitSequence();
+ void DeleteSessionNamespaceInCommitSequence(int64 namespace_id);
+ void DeleteLeftoverDataInCommitSequence();
+
// Collection of namespaces keyed by id.
StorageNamespaceMap namespaces_;
@@ -194,6 +198,7 @@ class DomStorageContext
bool clear_local_state_;
bool save_session_state_;
scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_;
+ scoped_refptr<SessionStorageDatabase> session_storage_database_;
};
} // namespace dom_storage

Powered by Google App Engine
This is Rietveld 408576698