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

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

Issue 17648006: Rename WorkerContext to WorkerGlobalScope (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master 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/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
« no previous file with comments | « Source/modules/webdatabase/WorkerContextWebDatabase.idl ('k') | Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698