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

Unified Diff: Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.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/indexeddb/WorkerGlobalScopeIndexedDatabase.h
diff --git a/Source/modules/indexeddb/WorkerContextIndexedDatabase.h b/Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.h
similarity index 82%
rename from Source/modules/indexeddb/WorkerContextIndexedDatabase.h
rename to Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.h
index 85e6f57c9edb8edf2132644608ccd6029c906c6d..fde2be1bf295589d9cd82842ab136054426f04db 100644
--- a/Source/modules/indexeddb/WorkerContextIndexedDatabase.h
+++ b/Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.h
@@ -24,8 +24,8 @@
*
*/
-#ifndef WorkerContextIndexedDatabase_h
-#define WorkerContextIndexedDatabase_h
+#ifndef WorkerGlobalScopeIndexedDatabase_h
+#define WorkerGlobalScopeIndexedDatabase_h
#include "core/platform/Supplementable.h"
@@ -35,15 +35,15 @@ class IDBFactory;
class IDBFactoryBackendInterface;
class ScriptExecutionContext;
-class WorkerContextIndexedDatabase : public Supplement<ScriptExecutionContext> {
+class WorkerGlobalScopeIndexedDatabase : public Supplement<ScriptExecutionContext> {
public:
- virtual ~WorkerContextIndexedDatabase();
- static WorkerContextIndexedDatabase* from(ScriptExecutionContext*);
+ virtual ~WorkerGlobalScopeIndexedDatabase();
+ static WorkerGlobalScopeIndexedDatabase* from(ScriptExecutionContext*);
static IDBFactory* indexedDB(ScriptExecutionContext*);
private:
- WorkerContextIndexedDatabase();
+ WorkerGlobalScopeIndexedDatabase();
IDBFactory* indexedDB();
static const char* supplementName();
@@ -54,4 +54,4 @@ private:
} // namespace WebCore
-#endif // WorkerContextIndexedDatabase_h
+#endif // WorkerGlobalScopeIndexedDatabase_h

Powered by Google App Engine
This is Rietveld 408576698