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

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

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.cpp
diff --git a/Source/modules/webdatabase/WorkerContextWebDatabase.cpp b/Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.cpp
similarity index 85%
rename from Source/modules/webdatabase/WorkerContextWebDatabase.cpp
rename to Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.cpp
index 9d659b52c8812ae5770a45f1ca7165488bf52cae..b5cdb00d77a0d23191dc9258714516aa9ddd346d 100644
--- a/Source/modules/webdatabase/WorkerContextWebDatabase.cpp
+++ b/Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.cpp
@@ -27,10 +27,10 @@
#include "config.h"
-#include "modules/webdatabase/WorkerContextWebDatabase.h"
+#include "modules/webdatabase/WorkerGlobalScopeWebDatabase.h"
#include "RuntimeEnabledFeatures.h"
-#include "core/workers/WorkerContext.h"
+#include "core/workers/WorkerGlobalScope.h"
#include "modules/webdatabase/Database.h"
#include "modules/webdatabase/DatabaseCallback.h"
#include "modules/webdatabase/DatabaseManager.h"
@@ -39,7 +39,7 @@
namespace WebCore {
-PassRefPtr<Database> WorkerContextWebDatabase::openDatabase(WorkerContext* context, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassRefPtr<DatabaseCallback> creationCallback, ExceptionCode& ec)
+PassRefPtr<Database> WorkerGlobalScopeWebDatabase::openDatabase(WorkerGlobalScope* context, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassRefPtr<DatabaseCallback> creationCallback, ExceptionCode& ec)
{
DatabaseManager& dbManager = DatabaseManager::manager();
RefPtr<Database> database;
@@ -54,7 +54,7 @@ PassRefPtr<Database> WorkerContextWebDatabase::openDatabase(WorkerContext* conte
return database.release();
}
-PassRefPtr<DatabaseSync> WorkerContextWebDatabase::openDatabaseSync(WorkerContext* context, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassRefPtr<DatabaseCallback> creationCallback, ExceptionCode& ec)
+PassRefPtr<DatabaseSync> WorkerGlobalScopeWebDatabase::openDatabaseSync(WorkerGlobalScope* context, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassRefPtr<DatabaseCallback> creationCallback, ExceptionCode& ec)
{
DatabaseManager& dbManager = DatabaseManager::manager();
RefPtr<DatabaseSync> database;
« no previous file with comments | « Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.h ('k') | Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698