diff options
Diffstat (limited to 'WebCore/storage/IDBObjectStore.h')
-rw-r--r-- | WebCore/storage/IDBObjectStore.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/WebCore/storage/IDBObjectStore.h b/WebCore/storage/IDBObjectStore.h index 837b65a..e78e62a 100644 --- a/WebCore/storage/IDBObjectStore.h +++ b/WebCore/storage/IDBObjectStore.h @@ -36,6 +36,8 @@ namespace WebCore { class DOMStringList; class IDBCallbacks; class IDBIndex; +class IDBKey; +class SerializedScriptValue; class IDBObjectStore : public ThreadSafeShared<IDBObjectStore> { public: @@ -45,6 +47,10 @@ public: virtual String keyPath() const = 0; virtual PassRefPtr<DOMStringList> indexNames() const = 0; + virtual void get(PassRefPtr<IDBKey> key, PassRefPtr<IDBCallbacks>) = 0; + virtual void put(PassRefPtr<SerializedScriptValue> value, PassRefPtr<IDBKey> key, bool addOnly, PassRefPtr<IDBCallbacks>) = 0; + virtual void remove(PassRefPtr<IDBKey> key, PassRefPtr<IDBCallbacks>) = 0; + virtual void createIndex(const String& name, const String& keyPath, bool unique, PassRefPtr<IDBCallbacks>) = 0; virtual PassRefPtr<IDBIndex> index(const String& name) = 0; virtual void removeIndex(const String& name, PassRefPtr<IDBCallbacks>) = 0; |