Chromium Code Reviews| 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..d9521a771f0a2de18207691c24ec0c2f6c9f9d6b 100644 |
| --- a/webkit/dom_storage/dom_storage_namespace.h |
| +++ b/webkit/dom_storage/dom_storage_namespace.h |
| @@ -59,9 +59,12 @@ class WEBKIT_STORAGE_EXPORT DomStorageNamespace |
| void DeleteLocalStorageOrigin(const GURL& origin); |
| void DeleteSessionStorageOrigin(const GURL& origin); |
| + void PurgeUnopenedAreas(); |
| void PurgeMemory(); |
| void Shutdown(); |
| + unsigned int CountInMemoryAreas() const { return areas_.size(); } |
|
michaeln
2013/04/05 23:39:23
Unfortunately, I don't think this is an accurate c
kinuko
2013/04/10 07:04:14
Good point, I changed the code to iterate over are
|
| + |
| private: |
| friend class base::RefCountedThreadSafe<DomStorageNamespace>; |