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

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

Issue 17080003: Get rid of modules/webdatabase/chromium (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « Source/modules/webdatabase/DatabaseObserver.h ('k') | Source/modules/webdatabase/QuotaTracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/DatabaseTracker.cpp
diff --git a/Source/modules/webdatabase/chromium/DatabaseTrackerChromium.cpp b/Source/modules/webdatabase/DatabaseTracker.cpp
similarity index 98%
rename from Source/modules/webdatabase/chromium/DatabaseTrackerChromium.cpp
rename to Source/modules/webdatabase/DatabaseTracker.cpp
index 78431ad60ce166a6ef27be1d249969a81646c28e..4f9f8b974797a88181c6bc3ac4838c070406b50e 100644
--- a/Source/modules/webdatabase/chromium/DatabaseTrackerChromium.cpp
+++ b/Source/modules/webdatabase/DatabaseTracker.cpp
@@ -35,8 +35,8 @@
#include "core/platform/sql/SQLiteFileSystem.h"
#include "modules/webdatabase/DatabaseBackendBase.h"
#include "modules/webdatabase/DatabaseBackendContext.h"
-#include "modules/webdatabase/chromium/DatabaseObserver.h"
-#include "modules/webdatabase/chromium/QuotaTracker.h"
+#include "modules/webdatabase/DatabaseObserver.h"
+#include "modules/webdatabase/QuotaTracker.h"
#include "weborigin/DatabaseIdentifier.h"
#include "weborigin/SecurityOrigin.h"
#include "weborigin/SecurityOriginHash.h"
@@ -227,7 +227,8 @@ private:
DatabaseBackendBase* m_database; // Intentionally a raw pointer.
};
-void DatabaseTracker::closeDatabasesImmediately(const String& originIdentifier, const String& name) {
+void DatabaseTracker::closeDatabasesImmediately(const String& originIdentifier, const String& name)
+{
MutexLocker openDatabaseMapLock(m_openDatabaseMapGuard);
if (!m_openDatabaseMap)
return;
« no previous file with comments | « Source/modules/webdatabase/DatabaseObserver.h ('k') | Source/modules/webdatabase/QuotaTracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698