Index: Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp |
diff --git a/Source/modules/indexeddb/WorkerContextIndexedDatabase.cpp b/Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp |
similarity index 71% |
rename from Source/modules/indexeddb/WorkerContextIndexedDatabase.cpp |
rename to Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp |
index a6093cd6036276c530764ca6b26a4a8a7e800432..c75a981dd0b79e3b0949f6f8deb16d383992c7e8 100644 |
--- a/Source/modules/indexeddb/WorkerContextIndexedDatabase.cpp |
+++ b/Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp |
@@ -27,7 +27,7 @@ |
#include "config.h" |
-#include "modules/indexeddb/WorkerContextIndexedDatabase.h" |
+#include "modules/indexeddb/WorkerGlobalScopeIndexedDatabase.h" |
#include "core/dom/ScriptExecutionContext.h" |
#include "modules/indexeddb/IDBFactory.h" |
@@ -35,35 +35,35 @@ |
namespace WebCore { |
-WorkerContextIndexedDatabase::WorkerContextIndexedDatabase() |
+WorkerGlobalScopeIndexedDatabase::WorkerGlobalScopeIndexedDatabase() |
{ |
} |
-WorkerContextIndexedDatabase::~WorkerContextIndexedDatabase() |
+WorkerGlobalScopeIndexedDatabase::~WorkerGlobalScopeIndexedDatabase() |
{ |
} |
-const char* WorkerContextIndexedDatabase::supplementName() |
+const char* WorkerGlobalScopeIndexedDatabase::supplementName() |
{ |
- return "WorkerContextIndexedDatabase"; |
+ return "WorkerGlobalScopeIndexedDatabase"; |
} |
-WorkerContextIndexedDatabase* WorkerContextIndexedDatabase::from(ScriptExecutionContext* context) |
+WorkerGlobalScopeIndexedDatabase* WorkerGlobalScopeIndexedDatabase::from(ScriptExecutionContext* context) |
{ |
- WorkerContextIndexedDatabase* supplement = static_cast<WorkerContextIndexedDatabase*>(Supplement<ScriptExecutionContext>::from(context, supplementName())); |
+ WorkerGlobalScopeIndexedDatabase* supplement = static_cast<WorkerGlobalScopeIndexedDatabase*>(Supplement<ScriptExecutionContext>::from(context, supplementName())); |
if (!supplement) { |
- supplement = new WorkerContextIndexedDatabase(); |
+ supplement = new WorkerGlobalScopeIndexedDatabase(); |
provideTo(context, supplementName(), adoptPtr(supplement)); |
} |
return supplement; |
} |
-IDBFactory* WorkerContextIndexedDatabase::indexedDB(ScriptExecutionContext* context) |
+IDBFactory* WorkerGlobalScopeIndexedDatabase::indexedDB(ScriptExecutionContext* context) |
{ |
return from(context)->indexedDB(); |
} |
-IDBFactory* WorkerContextIndexedDatabase::indexedDB() |
+IDBFactory* WorkerGlobalScopeIndexedDatabase::indexedDB() |
{ |
if (!m_factoryBackend) |
m_factoryBackend = IDBFactoryBackendInterface::create(); |