diff options
author | Kristian Monsen <kristianm@google.com> | 2010-09-30 15:42:16 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2010-10-07 10:59:29 +0100 |
commit | bec39347bb3bb5bf1187ccaf471d26247f28b585 (patch) | |
tree | 56bdc4c2978fbfd3d79d0d36d5d6c640ecc09cc8 /WebCore/storage/IDBObjectStore.h | |
parent | 90b7966e7815b262cd19ac25f03aaad9b21fdc06 (diff) | |
download | external_webkit-bec39347bb3bb5bf1187ccaf471d26247f28b585.zip external_webkit-bec39347bb3bb5bf1187ccaf471d26247f28b585.tar.gz external_webkit-bec39347bb3bb5bf1187ccaf471d26247f28b585.tar.bz2 |
Merge WebKit at r68651 : Initial merge by git.
Change-Id: I3d6bff59f17eedd6722723354f386fec9be8ad12
Diffstat (limited to 'WebCore/storage/IDBObjectStore.h')
-rw-r--r-- | WebCore/storage/IDBObjectStore.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/WebCore/storage/IDBObjectStore.h b/WebCore/storage/IDBObjectStore.h index 035f5d8..df5b3f7 100644 --- a/WebCore/storage/IDBObjectStore.h +++ b/WebCore/storage/IDBObjectStore.h @@ -43,13 +43,14 @@ class DOMStringList; class IDBAny; class IDBIndexRequest; class IDBKey; +class IDBTransactionBackendInterface; class SerializedScriptValue; class IDBObjectStore : public RefCounted<IDBObjectStore> { public: - static PassRefPtr<IDBObjectStore> create(PassRefPtr<IDBObjectStoreBackendInterface> idbObjectStore) + static PassRefPtr<IDBObjectStore> create(PassRefPtr<IDBObjectStoreBackendInterface> idbObjectStore, IDBTransactionBackendInterface* transaction) { - return adoptRef(new IDBObjectStore(idbObjectStore)); + return adoptRef(new IDBObjectStore(idbObjectStore, transaction)); } ~IDBObjectStore() { } @@ -69,9 +70,11 @@ public: PassRefPtr<IDBRequest> openCursor(ScriptExecutionContext*, PassRefPtr<IDBKeyRange> = 0, unsigned short direction = IDBCursor::NEXT); private: - IDBObjectStore(PassRefPtr<IDBObjectStoreBackendInterface>); + IDBObjectStore(PassRefPtr<IDBObjectStoreBackendInterface>, IDBTransactionBackendInterface* transaction); + void removeTransactionFromPendingList(); RefPtr<IDBObjectStoreBackendInterface> m_objectStore; + RefPtr<IDBTransactionBackendInterface> m_transaction; }; } // namespace WebCore |