Index: webkit/dom_storage/dom_storage_namespace.h |
=================================================================== |
--- webkit/dom_storage/dom_storage_namespace.h (revision 153968) |
+++ webkit/dom_storage/dom_storage_namespace.h (working copy) |
@@ -47,6 +47,9 @@ |
DomStorageArea* OpenStorageArea(const GURL& origin); |
void CloseStorageArea(DomStorageArea* area); |
+ // Returns the area for |origin| if it's open, otherwise NULL. |
+ DomStorageArea* GetOpenStorageArea(const GURL& origin); |
+ |
// Creates a clone of |this| namespace including |
// shallow copies of all contained areas. |
// Should only be called for session storage namespaces. |