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

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

Issue 18398002: Remove IDBNotFoundError ExceptionCode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: merge Created 7 years, 6 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/IDBTransaction.h
diff --git a/Source/modules/indexeddb/IDBTransaction.h b/Source/modules/indexeddb/IDBTransaction.h
index 885810db4a493f01736abc427e9eb8fda190da5f..fd3965c91606e477ec269e421e11e46e5546bcad 100644
--- a/Source/modules/indexeddb/IDBTransaction.h
+++ b/Source/modules/indexeddb/IDBTransaction.h
@@ -41,6 +41,7 @@
namespace WebCore {
class DOMError;
+class ExceptionState;
class IDBCursor;
class IDBDatabase;
class IDBDatabaseBackendInterface;
@@ -48,6 +49,8 @@ class IDBObjectStore;
class IDBOpenDBRequest;
struct IDBObjectStoreMetadata;
+typedef int ExceptionCode;
+
class IDBTransaction : public ScriptWrappable, public RefCounted<IDBTransaction>, public EventTarget, public ActiveDOMObject {
public:
static PassRefPtr<IDBTransaction> create(ScriptExecutionContext*, int64_t, const Vector<String>& objectStoreNames, IndexedDB::TransactionMode, IDBDatabase*);
@@ -75,7 +78,7 @@ public:
const String& mode() const;
IDBDatabase* db() const { return m_database.get(); }
PassRefPtr<DOMError> error() const { return m_error; }
- PassRefPtr<IDBObjectStore> objectStore(const String& name, ExceptionCode&);
+ PassRefPtr<IDBObjectStore> objectStore(const String& name, ExceptionState&);
void abort(ExceptionCode&);
class OpenCursorNotifier {

Powered by Google App Engine
This is Rietveld 408576698