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

Unified Diff: webkit/dom_storage/dom_storage_namespace.h

Issue 12398008: Purge in-memory localStorage areas if the # of areas exceeds the limit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update Created 7 years, 10 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_namespace.h
diff --git a/webkit/dom_storage/dom_storage_namespace.h b/webkit/dom_storage/dom_storage_namespace.h
index 78ef4d77ff10b690dd39f97b569f17e4686a4632..448c214174cf801c2330c9cd10af41e829b6a573 100644
--- a/webkit/dom_storage/dom_storage_namespace.h
+++ b/webkit/dom_storage/dom_storage_namespace.h
@@ -81,6 +81,9 @@ class WEBKIT_STORAGE_EXPORT DomStorageNamespace
// Returns a pointer to the area holder in our map or NULL.
AreaHolder* GetAreaHolder(const GURL& origin);
+ friend class DomStorageContext;
+ const AreaMap& GetAreaMap() const { return areas_; }
+
int64 namespace_id_;
std::string persistent_namespace_id_;
base::FilePath directory_;

Powered by Google App Engine
This is Rietveld 408576698