| 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;
|
| };
|
|
|