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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/DatabaseThread.cpp

Issue 2229213002: Web SQL: Replace WTF_LOG() with STORAGE_DVLOG() or SQL_DVLOG(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using LAZY_STREAM Created 4 years, 4 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: third_party/WebKit/Source/modules/webdatabase/DatabaseThread.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.cpp b/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.cpp
index c11823d1f4209dcd1059d0a5fb1491f4a02db453..13a9234cb87c2bb633b7259bb7cc861d1efc8f78 100644
--- a/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.cpp
@@ -32,8 +32,8 @@
#include "modules/webdatabase/DatabaseTask.h"
#include "modules/webdatabase/SQLTransactionClient.h"
#include "modules/webdatabase/SQLTransactionCoordinator.h"
+#include "modules/webdatabase/StorageLog.h"
#include "platform/CrossThreadFunctional.h"
-#include "platform/Logging.h"
#include "platform/WebThreadSupportingGC.h"
#include "public/platform/Platform.h"
#include "wtf/PtrUtil.h"
@@ -83,7 +83,7 @@ void DatabaseThread::terminate()
ASSERT(!m_terminationRequested);
m_terminationRequested = true;
m_cleanupSync = &sync;
- WTF_LOG(StorageAPI, "DatabaseThread %p was asked to terminate\n", this);
+ STORAGE_DVLOG(1) << "DatabaseThread " << this << " was asked to terminate";
m_thread->postTask(BLINK_FROM_HERE, crossThreadBind(&DatabaseThread::cleanupDatabaseThread, wrapCrossThreadPersistent(this)));
}
sync.waitForTaskCompletion();
@@ -97,7 +97,7 @@ void DatabaseThread::cleanupDatabaseThread()
{
DCHECK(isDatabaseThread());
- WTF_LOG(StorageAPI, "Cleaning up DatabaseThread %p", this);
+ STORAGE_DVLOG(1) << "Cleaning up DatabaseThread " << this;
// Clean up the list of all pending transactions on this database thread
m_transactionCoordinator->shutdown();

Powered by Google App Engine
This is Rietveld 408576698