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/StorageArea.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebCore/storage/StorageArea.h')
-rw-r--r-- | Source/WebCore/storage/StorageArea.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Source/WebCore/storage/StorageArea.h b/Source/WebCore/storage/StorageArea.h index 86e9c2051..9743fded2 100644 --- a/Source/WebCore/storage/StorageArea.h +++ b/Source/WebCore/storage/StorageArea.h @@ -23,20 +23,21 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef StorageArea_h -#define StorageArea_h +#pragma once #include <wtf/Forward.h> -#include <wtf/PassRefPtr.h> #include <wtf/RefCounted.h> #include <wtf/text/WTFString.h> namespace WebCore { class Frame; +class SecurityOrigin; class StorageSyncManager; -typedef int ExceptionCode; -enum StorageType { LocalStorage, SessionStorage }; + +enum class StorageType; + +struct SecurityOriginData; class StorageArea : public RefCounted<StorageArea> { public: @@ -58,8 +59,8 @@ public: virtual void incrementAccessCount() { } virtual void decrementAccessCount() { } virtual void closeDatabaseIfIdle() { } + + virtual SecurityOriginData securityOrigin() const = 0; }; } // namespace WebCore - -#endif // StorageArea_h |