summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/storage/StorageNamespaceImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/storage/StorageNamespaceImpl.h')
-rw-r--r--Source/WebCore/storage/StorageNamespaceImpl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/WebCore/storage/StorageNamespaceImpl.h b/Source/WebCore/storage/StorageNamespaceImpl.h
index c2361fa..f13ff47 100644
--- a/Source/WebCore/storage/StorageNamespaceImpl.h
+++ b/Source/WebCore/storage/StorageNamespaceImpl.h
@@ -53,6 +53,14 @@ namespace WebCore {
virtual void close();
virtual void unlock();
+ // Not removing the origin's StorageArea from m_storageAreaMap because
+ // we're just deleting the underlying db file. If an item is added immediately
+ // after file deletion, we want the same StorageArea to eventually trigger
+ // a sync and for StorageAreaSync to recreate the backing db file.
+ virtual void clearOriginForDeletion(SecurityOrigin*);
+ virtual void clearAllOriginsForDeletion();
+ virtual void sync();
+
#ifdef ANDROID
virtual void clear(Page*);
#endif