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

Unified Diff: Source/modules/indexeddb/IDBRequest.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/IDBOpenDBRequest.cpp ('k') | Source/modules/indexeddb/IDBRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBRequest.h
diff --git a/Source/modules/indexeddb/IDBRequest.h b/Source/modules/indexeddb/IDBRequest.h
index 6c5e1eece54f06caa237689fabc69d574c876ad5..6e2ed6aa0b96b74088e8d13e6ad008717dd850f4 100644
--- a/Source/modules/indexeddb/IDBRequest.h
+++ b/Source/modules/indexeddb/IDBRequest.h
@@ -32,7 +32,6 @@
#include "bindings/core/v8/ScriptState.h"
#include "bindings/core/v8/ScriptValue.h"
#include "core/dom/ActiveDOMObject.h"
-#include "core/dom/DOMError.h"
#include "core/dom/DOMStringList.h"
#include "core/events/EventListener.h"
#include "core/events/EventTarget.h"
@@ -49,6 +48,7 @@
namespace blink {
+class DOMException;
class ExceptionState;
class IDBCursor;
struct IDBDatabaseMetadata;
@@ -67,7 +67,7 @@ public:
ScriptState* scriptState() { return m_scriptState.get(); }
ScriptValue result(ExceptionState&);
- DOMError* error(ExceptionState&) const;
+ DOMException* error(ExceptionState&) const;
ScriptValue source() const;
IDBTransaction* transaction() const { return m_transaction.get(); }
@@ -94,7 +94,7 @@ public:
void setPendingCursor(IDBCursor*);
void abort();
- virtual void onError(DOMError*);
+ virtual void onError(DOMException*);
virtual void onSuccess(const Vector<String>&);
virtual void onSuccess(PassOwnPtr<WebIDBCursor>, IDBKey*, IDBKey* primaryKey, PassRefPtr<IDBValue>);
virtual void onSuccess(IDBKey*);
@@ -149,7 +149,7 @@ private:
RefPtr<ScriptState> m_scriptState;
Member<IDBAny> m_source;
Member<IDBAny> m_result;
- Member<DOMError> m_error;
+ Member<DOMException> m_error;
bool m_hasPendingActivity = true;
WillBeHeapVector<RefPtrWillBeMember<Event>> m_enqueuedEvents;
« no previous file with comments | « Source/modules/indexeddb/IDBOpenDBRequest.cpp ('k') | Source/modules/indexeddb/IDBRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698