| Index: Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.h
|
| diff --git a/Source/modules/webdatabase/WorkerContextWebDatabase.h b/Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.h
|
| similarity index 69%
|
| rename from Source/modules/webdatabase/WorkerContextWebDatabase.h
|
| rename to Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.h
|
| index 2e577726acc0acd24e1a4d43d5a132ada816ab9b..a2ed1d89d6b199274e9e77415e1b2b7227dce3fa 100644
|
| --- a/Source/modules/webdatabase/WorkerContextWebDatabase.h
|
| +++ b/Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.h
|
| @@ -24,8 +24,8 @@
|
| *
|
| */
|
|
|
| -#ifndef WorkerContextWebDatabase_h
|
| -#define WorkerContextWebDatabase_h
|
| +#ifndef WorkerGlobalScopeWebDatabase_h
|
| +#define WorkerGlobalScopeWebDatabase_h
|
|
|
| #include "core/dom/ExceptionCode.h"
|
| #include "wtf/Forward.h"
|
| @@ -38,18 +38,18 @@ namespace WebCore {
|
| class Database;
|
| class DatabaseCallback;
|
| class DatabaseSync;
|
| -class WorkerContext;
|
| +class WorkerGlobalScope;
|
|
|
| -class WorkerContextWebDatabase {
|
| +class WorkerGlobalScopeWebDatabase {
|
| public:
|
| - static PassRefPtr<Database> openDatabase(WorkerContext*, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassRefPtr<DatabaseCallback> creationCallback, ExceptionCode&);
|
| - static PassRefPtr<DatabaseSync> openDatabaseSync(WorkerContext*, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassRefPtr<DatabaseCallback> creationCallback, ExceptionCode&);
|
| + 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:
|
| - WorkerContextWebDatabase() { };
|
| - ~WorkerContextWebDatabase() { };
|
| + WorkerGlobalScopeWebDatabase() { };
|
| + ~WorkerGlobalScopeWebDatabase() { };
|
| };
|
|
|
| } // namespace WebCore
|
|
|
| -#endif // WorkerContextWebDatabase_h
|
| +#endif // WorkerGlobalScopeWebDatabase_h
|
|
|