diff options
Diffstat (limited to 'WebCore/storage/IDBIndexBackendInterface.h')
-rw-r--r-- | WebCore/storage/IDBIndexBackendInterface.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/WebCore/storage/IDBIndexBackendInterface.h b/WebCore/storage/IDBIndexBackendInterface.h index 0d1ea34..ff2316f 100644 --- a/WebCore/storage/IDBIndexBackendInterface.h +++ b/WebCore/storage/IDBIndexBackendInterface.h @@ -33,13 +33,23 @@ namespace WebCore { +class IDBCallbacks; +class IDBKey; +class IDBKeyRange; + class IDBIndexBackendInterface : public ThreadSafeShared<IDBIndexBackendInterface> { public: virtual ~IDBIndexBackendInterface() { } virtual String name() = 0; + virtual String storeName() = 0; virtual String keyPath() = 0; virtual bool unique() = 0; + + virtual void openObjectCursor(PassRefPtr<IDBKeyRange>, unsigned short direction, PassRefPtr<IDBCallbacks>) = 0; + virtual void openCursor(PassRefPtr<IDBKeyRange>, unsigned short direction, PassRefPtr<IDBCallbacks>) = 0; + virtual void getObject(PassRefPtr<IDBKey>, PassRefPtr<IDBCallbacks>) = 0; + virtual void get(PassRefPtr<IDBKey>, PassRefPtr<IDBCallbacks>) = 0; }; } // namespace WebCore |