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

Unified Diff: Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.h

Issue 19724003: Revert "Transition modules/** to use ExceptionState" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/webdatabase/WorkerGlobalScopeWebDatabase.h
diff --git a/Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.h b/Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.h
index e7bd3d6a15f29c86918e02474a5442909ec0f676..a2ed1d89d6b199274e9e77415e1b2b7227dce3fa 100644
--- a/Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.h
+++ b/Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.h
@@ -27,6 +27,7 @@
#ifndef WorkerGlobalScopeWebDatabase_h
#define WorkerGlobalScopeWebDatabase_h
+#include "core/dom/ExceptionCode.h"
#include "wtf/Forward.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
@@ -37,13 +38,12 @@ namespace WebCore {
class Database;
class DatabaseCallback;
class DatabaseSync;
-class ExceptionState;
class WorkerGlobalScope;
class WorkerGlobalScopeWebDatabase {
public:
- static PassRefPtr<Database> openDatabase(WorkerGlobalScope*, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassRefPtr<DatabaseCallback> creationCallback, ExceptionState&);
- static PassRefPtr<DatabaseSync> openDatabaseSync(WorkerGlobalScope*, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassRefPtr<DatabaseCallback> creationCallback, ExceptionState&);
+ static PassRefPtr<Database> openDatabase(WorkerGlobalScope*, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassRefPtr<DatabaseCallback> creationCallback, ExceptionCode&);
+ static PassRefPtr<DatabaseSync> openDatabaseSync(WorkerGlobalScope*, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassRefPtr<DatabaseCallback> creationCallback, ExceptionCode&);
private:
WorkerGlobalScopeWebDatabase() { };
« no previous file with comments | « Source/modules/webdatabase/SQLTransactionBackendSync.cpp ('k') | Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698