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

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

Issue 1364823002: IndexedDB: Replace use of DOMError with DOMException (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drop [Measure] where done Created 5 years, 1 month 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
Index: third_party/WebKit/Source/modules/indexeddb/IDBTransaction.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.h b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.h
index 4e34e54d128422bb324c2b11e765d48009b384e7..631c326875294c8c4ab76b02d4d2f085f6c696a1 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.h
+++ b/third_party/WebKit/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;

Powered by Google App Engine
This is Rietveld 408576698