Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Unified Diff: Source/modules/indexeddb/IDBTransaction.h

Issue 1182233003: IndexedDB: Replace use of DOMError with DOMException (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/indexeddb/IDBRequestTest.cpp ('k') | Source/modules/indexeddb/IDBTransaction.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBTransaction.h
diff --git a/Source/modules/indexeddb/IDBTransaction.h b/Source/modules/indexeddb/IDBTransaction.h
index 4e34e54d128422bb324c2b11e765d48009b384e7..631c326875294c8c4ab76b02d4d2f085f6c696a1 100644
--- a/Source/modules/indexeddb/IDBTransaction.h
+++ b/Source/modules/indexeddb/IDBTransaction.h
@@ -28,7 +28,6 @@
#include "bindings/core/v8/ScriptState.h"
#include "core/dom/ActiveDOMObject.h"
-#include "core/dom/DOMError.h"
#include "core/events/EventListener.h"
#include "modules/EventModules.h"
#include "modules/EventTargetModules.h"
@@ -42,7 +41,7 @@
namespace blink {
-class DOMError;
+class DOMException;
class ExceptionState;
class IDBDatabase;
class IDBObjectStore;
@@ -77,7 +76,7 @@ public:
const String& mode() const;
PassRefPtrWillBeRawPtr<DOMStringList> objectStoreNames() const;
IDBDatabase* db() const { return m_database.get(); }
- DOMError* error() const { return m_error; }
+ DOMException* error() const { return m_error; }
IDBObjectStore* objectStore(const String& name, ExceptionState&);
void abort(ExceptionState&);
@@ -86,13 +85,13 @@ public:
void objectStoreCreated(const String&, IDBObjectStore*);
void objectStoreDeleted(const String&);
void setActive(bool);
- void setError(DOMError*);
+ void setError(DOMException*);
DEFINE_ATTRIBUTE_EVENT_LISTENER(abort);
DEFINE_ATTRIBUTE_EVENT_LISTENER(complete);
DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
- void onAbort(DOMError*);
+ void onAbort(DOMException*);
void onComplete();
// EventTarget
@@ -127,7 +126,7 @@ private:
State m_state = Active;
bool m_hasPendingActivity = true;
bool m_contextStopped = false;
- Member<DOMError> m_error;
+ Member<DOMException> m_error;
HeapListHashSet<Member<IDBRequest>> m_requestList;
« no previous file with comments | « Source/modules/indexeddb/IDBRequestTest.cpp ('k') | Source/modules/indexeddb/IDBTransaction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698