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

Unified Diff: Source/modules/indexeddb/IDBObjectStore.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/IDBObjectStore.h
diff --git a/Source/modules/indexeddb/IDBObjectStore.h b/Source/modules/indexeddb/IDBObjectStore.h
index 2a2627f2cabb0cd8636db0a1abdc9bddb339bc84..fda09cf866be082b235d05827aba3ecfd1ee0609 100644
--- a/Source/modules/indexeddb/IDBObjectStore.h
+++ b/Source/modules/indexeddb/IDBObjectStore.h
@@ -45,6 +45,9 @@ namespace WebCore {
class DOMStringList;
class IDBAny;
+class ExceptionState;
+
+typedef int ExceptionCode;
class IDBObjectStore : public ScriptWrappable, public RefCounted<IDBObjectStore> {
public:
@@ -75,8 +78,8 @@ public:
PassRefPtr<IDBIndex> createIndex(ScriptExecutionContext* context, const String& name, const String& keyPath, const Dictionary& options, ExceptionCode& ec) { return createIndex(context, name, IDBKeyPath(keyPath), options, ec); }
PassRefPtr<IDBIndex> createIndex(ScriptExecutionContext* context, const String& name, const Vector<String>& keyPath, const Dictionary& options, ExceptionCode& ec) { return createIndex(context, name, IDBKeyPath(keyPath), options, ec); }
- PassRefPtr<IDBIndex> index(const String& name, ExceptionCode&);
- void deleteIndex(const String& name, ExceptionCode&);
+ PassRefPtr<IDBIndex> index(const String& name, ExceptionState&);
+ void deleteIndex(const String& name, ExceptionState&);
PassRefPtr<IDBRequest> count(ScriptExecutionContext*, PassRefPtr<IDBKeyRange>, ExceptionCode&);
PassRefPtr<IDBRequest> count(ScriptExecutionContext*, const ScriptValue& key, ExceptionCode&);

Powered by Google App Engine
This is Rietveld 408576698