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

Unified Diff: Source/modules/indexeddb/IDBFactory.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/IDBFactory.h
diff --git a/Source/modules/indexeddb/IDBFactory.h b/Source/modules/indexeddb/IDBFactory.h
index 61b82c0d28c55a757b245db992bafa4e7228f615..b1e297302c9fb8694d91155ee3a6b4089863074b 100644
--- a/Source/modules/indexeddb/IDBFactory.h
+++ b/Source/modules/indexeddb/IDBFactory.h
@@ -37,13 +37,12 @@
namespace WebCore {
+class ExceptionState;
+class IDBFactoryBackendInterface;
class IDBKey;
class IDBKeyRange;
-class IDBFactoryBackendInterface;
class ScriptExecutionContext;
-typedef int ExceptionCode;
-
class IDBFactory : public ScriptWrappable, public RefCounted<IDBFactory> {
public:
static PassRefPtr<IDBFactory> create(IDBFactoryBackendInterface* factory)
@@ -52,18 +51,18 @@ public:
}
~IDBFactory();
- PassRefPtr<IDBRequest> getDatabaseNames(ScriptExecutionContext*, ExceptionCode&);
+ PassRefPtr<IDBRequest> getDatabaseNames(ScriptExecutionContext*, ExceptionState&);
- PassRefPtr<IDBOpenDBRequest> open(ScriptExecutionContext*, const String& name, ExceptionCode&);
- PassRefPtr<IDBOpenDBRequest> open(ScriptExecutionContext*, const String& name, unsigned long long version, ExceptionCode&);
- PassRefPtr<IDBOpenDBRequest> deleteDatabase(ScriptExecutionContext*, const String& name, ExceptionCode&);
+ PassRefPtr<IDBOpenDBRequest> open(ScriptExecutionContext*, const String& name, ExceptionState&);
+ PassRefPtr<IDBOpenDBRequest> open(ScriptExecutionContext*, const String& name, unsigned long long version, ExceptionState&);
+ PassRefPtr<IDBOpenDBRequest> deleteDatabase(ScriptExecutionContext*, const String& name, ExceptionState&);
- short cmp(ScriptExecutionContext*, const ScriptValue& first, const ScriptValue& second, ExceptionCode&);
+ short cmp(ScriptExecutionContext*, const ScriptValue& first, const ScriptValue& second, ExceptionState&);
private:
IDBFactory(IDBFactoryBackendInterface*);
- PassRefPtr<IDBOpenDBRequest> openInternal(ScriptExecutionContext*, const String& name, int64_t version, ExceptionCode&);
+ PassRefPtr<IDBOpenDBRequest> openInternal(ScriptExecutionContext*, const String& name, int64_t version, ExceptionState&);
RefPtr<IDBFactoryBackendInterface> m_backend;
};

Powered by Google App Engine
This is Rietveld 408576698