diff options
Diffstat (limited to 'Source/WebCore/Modules/indexeddb/IDBTransaction.h')
-rw-r--r-- | Source/WebCore/Modules/indexeddb/IDBTransaction.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/WebCore/Modules/indexeddb/IDBTransaction.h b/Source/WebCore/Modules/indexeddb/IDBTransaction.h index 641f62b81..1cebe9c19 100644 --- a/Source/WebCore/Modules/indexeddb/IDBTransaction.h +++ b/Source/WebCore/Modules/indexeddb/IDBTransaction.h @@ -29,6 +29,7 @@ #if ENABLE(INDEXED_DATABASE) #include "ActiveDOMObject.h" +#include "DOMError.h" #include "DOMStringList.h" #include "Event.h" #include "EventListener.h" @@ -70,6 +71,9 @@ public: const String& mode() const; IDBDatabase* db() const; + PassRefPtr<DOMError> error(ExceptionCode&) const; + void setError(PassRefPtr<DOMError>); + PassRefPtr<IDBObjectStore> objectStore(const String& name, ExceptionCode&); void abort(); @@ -129,6 +133,7 @@ private: const unsigned short m_mode; bool m_transactionFinished; // Is it possible that we'll fire any more events or allow any new requests? If not, we're finished. bool m_contextStopped; + RefPtr<DOMError> m_error; ListHashSet<IDBRequest*> m_childRequests; |