summaryrefslogtreecommitdiff
path: root/Source/WebCore/storage/StorageArea.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/storage/StorageArea.h')
-rw-r--r--Source/WebCore/storage/StorageArea.h15
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