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

Unified Diff: webkit/dom_storage/session_storage_database.h

Issue 9963107: Persist sessionStorage on disk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. 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: webkit/dom_storage/session_storage_database.h
diff --git a/webkit/dom_storage/session_storage_database.h b/webkit/dom_storage/session_storage_database.h
index eb03993f7e6d45e276ffeb55116e4bf0fd9955f3..7b28712185cbc30a26e1a143858c8be41881b3a7 100644
--- a/webkit/dom_storage/session_storage_database.h
+++ b/webkit/dom_storage/session_storage_database.h
@@ -66,6 +66,10 @@ class SessionStorageDatabase :
// Reads all namespace IDs from the database.
bool ReadNamespaceIds(std::vector<std::string>* namespace_ids);
+ // Reads all origins which have data stored in |namespace_id|.
+ bool ReadOriginsInNamespace(const std::string& namespace_id,
+ std::vector<GURL>* origins);
+
private:
friend class base::RefCountedThreadSafe<SessionStorageDatabase>;
friend class SessionStorageDatabaseTest;

Powered by Google App Engine
This is Rietveld 408576698