summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/WebCore/storage/StorageArea.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/webkit/WebCore/storage/StorageArea.h')
-rw-r--r--src/3rdparty/webkit/WebCore/storage/StorageArea.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/3rdparty/webkit/WebCore/storage/StorageArea.h b/src/3rdparty/webkit/WebCore/storage/StorageArea.h
index 31f716a0a..6ae10c198 100644
--- a/src/3rdparty/webkit/WebCore/storage/StorageArea.h
+++ b/src/3rdparty/webkit/WebCore/storage/StorageArea.h
@@ -29,23 +29,14 @@
#if ENABLE(DOM_STORAGE)
#include "PlatformString.h"
-#include "SecurityOrigin.h"
-#include "StorageAreaSync.h"
-#include "StorageMap.h"
-#include "StorageSyncManager.h"
-#include <wtf/Forward.h>
#include <wtf/PassRefPtr.h>
-#include <wtf/RefCounted.h>
-#include <wtf/RefPtr.h>
+#include <wtf/Threading.h>
namespace WebCore {
class Frame;
- class Page;
class SecurityOrigin;
- class StorageAreaSync;
- class StorageMap;
class StorageSyncManager;
typedef int ExceptionCode;
enum StorageType { LocalStorage, SessionStorage };
@@ -53,9 +44,7 @@ namespace WebCore {
// This interface is required for Chromium since these actions need to be proxied between processes.
class StorageArea : public ThreadSafeShared<StorageArea> {
public:
- static PassRefPtr<StorageArea> create(StorageType, SecurityOrigin*, PassRefPtr<StorageSyncManager>);
virtual ~StorageArea() { }
- virtual PassRefPtr<StorageArea> copy(SecurityOrigin*) = 0;
// The HTML5 DOM Storage API
virtual unsigned length() const = 0;
@@ -64,13 +53,7 @@ namespace WebCore {
virtual void setItem(const String& key, const String& value, ExceptionCode& ec, Frame* sourceFrame) = 0;
virtual void removeItem(const String& key, Frame* sourceFrame) = 0;
virtual void clear(Frame* sourceFrame) = 0;
-
virtual bool contains(const String& key) const = 0;
- virtual void close() = 0;
-
- // Could be called from a background thread.
- virtual void importItem(const String& key, const String& value) = 0;
- virtual SecurityOrigin* securityOrigin() = 0;
};
} // namespace WebCore