summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/storage/IDBAny.h
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2011-05-24 11:24:40 +0100
committerBen Murdoch <benm@google.com>2011-06-02 09:53:15 +0100
commit81bc750723a18f21cd17d1b173cd2a4dda9cea6e (patch)
tree7a9e5ed86ff429fd347a25153107221543909b19 /Source/WebCore/storage/IDBAny.h
parent94088a6d336c1dd80a1e734af51e96abcbb689a7 (diff)
downloadexternal_webkit-81bc750723a18f21cd17d1b173cd2a4dda9cea6e.zip
external_webkit-81bc750723a18f21cd17d1b173cd2a4dda9cea6e.tar.gz
external_webkit-81bc750723a18f21cd17d1b173cd2a4dda9cea6e.tar.bz2
Merge WebKit at r80534: Intial merge by Git
Change-Id: Ia7a83357124c9e1cdb1debf55d9661ec0bd09a61
Diffstat (limited to 'Source/WebCore/storage/IDBAny.h')
-rw-r--r--Source/WebCore/storage/IDBAny.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/WebCore/storage/IDBAny.h b/Source/WebCore/storage/IDBAny.h
index 8e3f83e..e7e94f9 100644
--- a/Source/WebCore/storage/IDBAny.h
+++ b/Source/WebCore/storage/IDBAny.h
@@ -35,6 +35,7 @@
namespace WebCore {
class IDBCursor;
+class IDBCursorWithValue;
class IDBDatabase;
class IDBFactory;
class IDBIndex;
@@ -67,6 +68,7 @@ public:
UndefinedType = 0,
NullType,
IDBCursorType,
+ IDBCursorWithValueType,
IDBDatabaseType,
IDBFactoryType,
IDBIndexType,
@@ -79,6 +81,7 @@ public:
Type type() const { return m_type; }
// Use type() to figure out which one of these you're allowed to call.
PassRefPtr<IDBCursor> idbCursor();
+ PassRefPtr<IDBCursorWithValue> idbCursorWithValue();
PassRefPtr<IDBDatabase> idbDatabase();
PassRefPtr<IDBFactory> idbFactory();
PassRefPtr<IDBIndex> idbIndex();
@@ -90,6 +93,7 @@ public:
// Set can only be called once.
void setNull();
void set(PassRefPtr<IDBCursor>);
+ void set(PassRefPtr<IDBCursorWithValue>);
void set(PassRefPtr<IDBDatabase>);
void set(PassRefPtr<IDBFactory>);
void set(PassRefPtr<IDBIndex>);
@@ -105,6 +109,7 @@ private:
// Only one of the following should ever be in use at any given time.
RefPtr<IDBCursor> m_idbCursor;
+ RefPtr<IDBCursorWithValue> m_idbCursorWithValue;
RefPtr<IDBDatabase> m_idbDatabase;
RefPtr<IDBFactory> m_idbFactory;
RefPtr<IDBIndex> m_idbIndex;