diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/storage/StorageNamespace.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebCore/storage/StorageNamespace.h')
-rw-r--r-- | Source/WebCore/storage/StorageNamespace.h | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/Source/WebCore/storage/StorageNamespace.h b/Source/WebCore/storage/StorageNamespace.h index 1aef9e6fe..ead71a476 100644 --- a/Source/WebCore/storage/StorageNamespace.h +++ b/Source/WebCore/storage/StorageNamespace.h @@ -23,36 +23,22 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef StorageNamespace_h -#define StorageNamespace_h +#pragma once #include <wtf/Forward.h> -#include <wtf/PassRefPtr.h> #include <wtf/RefCounted.h> namespace WebCore { class Page; -class PageGroup; -class SecurityOrigin; class StorageArea; +struct SecurityOriginData; class StorageNamespace : public RefCounted<StorageNamespace> { public: - static PassRefPtr<StorageNamespace> localStorageNamespace(PageGroup*); - static PassRefPtr<StorageNamespace> transientLocalStorageNamespace(PageGroup*, SecurityOrigin*); - static PassRefPtr<StorageNamespace> sessionStorageNamespace(Page*); - virtual ~StorageNamespace() { } - virtual PassRefPtr<StorageArea> storageArea(PassRefPtr<SecurityOrigin>) = 0; - virtual PassRefPtr<StorageNamespace> copy(Page* newPage) = 0; - virtual void close() = 0; - virtual void clearOriginForDeletion(SecurityOrigin*) = 0; - virtual void clearAllOriginsForDeletion() = 0; - virtual void sync() = 0; - virtual void closeIdleLocalStorageDatabases() { } + virtual RefPtr<StorageArea> storageArea(const SecurityOriginData&) = 0; + virtual RefPtr<StorageNamespace> copy(Page* newPage) = 0; }; } // namespace WebCore - -#endif // StorageNamespace_h |