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

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

Issue 18398002: Remove IDBNotFoundError ExceptionCode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add missing include in code gen wich causes win compile failure Created 7 years, 5 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
Index: Source/modules/indexeddb/IDBRequest.h
diff --git a/Source/modules/indexeddb/IDBRequest.h b/Source/modules/indexeddb/IDBRequest.h
index 9a7692d00002339a7cbdb7971e223a01d7ef03d9..4ff41225679348c90cb3489db76ffc85665286af 100644
--- a/Source/modules/indexeddb/IDBRequest.h
+++ b/Source/modules/indexeddb/IDBRequest.h
@@ -44,18 +44,17 @@
namespace WebCore {
+class ExceptionState;
class IDBTransaction;
-typedef int ExceptionCode;
-
class IDBRequest : public ScriptWrappable, public IDBCallbacks, public EventTarget, public ActiveDOMObject {
public:
static PassRefPtr<IDBRequest> create(ScriptExecutionContext*, PassRefPtr<IDBAny> source, IDBTransaction*);
static PassRefPtr<IDBRequest> create(ScriptExecutionContext*, PassRefPtr<IDBAny> source, IDBDatabaseBackendInterface::TaskType, IDBTransaction*);
virtual ~IDBRequest();
- PassRefPtr<IDBAny> result(ExceptionCode&) const;
- PassRefPtr<DOMError> error(ExceptionCode&) const;
+ PassRefPtr<IDBAny> result(ExceptionState&) const;
+ PassRefPtr<DOMError> error(ExceptionState&) const;
PassRefPtr<IDBAny> source() const;
PassRefPtr<IDBTransaction> transaction() const;
void preventPropagation() { m_preventPropagation = true; }

Powered by Google App Engine
This is Rietveld 408576698