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

Unified Diff: Source/WebCore/Modules/webdatabase/SQLTransactionBackend.cpp

Issue 13643002: Rename LOG() to LOG_INFO() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebase Created 7 years, 8 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/WebCore/Modules/webdatabase/SQLTransactionBackend.cpp
diff --git a/Source/WebCore/Modules/webdatabase/SQLTransactionBackend.cpp b/Source/WebCore/Modules/webdatabase/SQLTransactionBackend.cpp
index bb548bad65459aa55fda68a935e44abf44e8f4fd..52a60ffca03799abde0cb899e07735fa2c97c6d9 100644
--- a/Source/WebCore/Modules/webdatabase/SQLTransactionBackend.cpp
+++ b/Source/WebCore/Modules/webdatabase/SQLTransactionBackend.cpp
@@ -491,7 +491,7 @@ void SQLTransactionBackend::computeNextStateAndCleanupIfNeeded()
|| m_nextState == SQLTransactionState::CleanupAndTerminate
|| m_nextState == SQLTransactionState::CleanupAfterTransactionErrorCallback);
- LOG(StorageAPI, "State %s\n", nameForSQLTransactionState(m_nextState));
+ LOG_INFO(StorageAPI, "State %s\n", nameForSQLTransactionState(m_nextState));
return;
}
@@ -501,7 +501,7 @@ void SQLTransactionBackend::computeNextStateAndCleanupIfNeeded()
m_nextState = SQLTransactionState::End;
// If the database was stopped, don't do anything and cancel queued work
- LOG(StorageAPI, "Database was stopped or interrupted - cancelling work for this transaction");
+ LOG_INFO(StorageAPI, "Database was stopped or interrupted - cancelling work for this transaction");
// The current SQLite transaction should be stopped, as well
if (m_sqliteTransaction) {
@@ -565,7 +565,7 @@ SQLTransactionState SQLTransactionBackend::openTransactionAndPreflight()
ASSERT(!m_database->sqliteDatabase().transactionInProgress());
ASSERT(m_lockAcquired);
- LOG(StorageAPI, "Opening and preflighting transaction %p", this);
+ LOG_INFO(StorageAPI, "Opening and preflighting transaction %p", this);
// If the database was deleted, jump to the error callback
if (Database::from(m_database.get())->deleted()) {
@@ -778,7 +778,7 @@ SQLTransactionState SQLTransactionBackend::cleanupAndTerminate()
ASSERT(m_lockAcquired);
// Spec 4.3.2.9: End transaction steps. There is no next step.
- LOG(StorageAPI, "Transaction %p is complete\n", this);
+ LOG_INFO(StorageAPI, "Transaction %p is complete\n", this);
ASSERT(!m_database->sqliteDatabase().transactionInProgress());
// Phase 5 cleanup. See comment on the SQLTransaction life-cycle above.
@@ -802,7 +802,7 @@ SQLTransactionState SQLTransactionBackend::cleanupAfterTransactionErrorCallback(
{
ASSERT(m_lockAcquired);
- LOG(StorageAPI, "Transaction %p is complete with an error\n", this);
+ LOG_INFO(StorageAPI, "Transaction %p is complete with an error\n", this);
m_database->disableAuthorizer();
if (m_sqliteTransaction) {
// Spec 4.3.2.10: Rollback the transaction.
@@ -825,7 +825,7 @@ SQLTransactionState SQLTransactionBackend::cleanupAfterTransactionErrorCallback(
// modify is m_requestedState which is meant for this purpose.
void SQLTransactionBackend::requestTransitToState(SQLTransactionState nextState)
{
- LOG(StorageAPI, "Scheduling %s for transaction %p\n", nameForSQLTransactionState(nextState), this);
+ LOG_INFO(StorageAPI, "Scheduling %s for transaction %p\n", nameForSQLTransactionState(nextState), this);
m_requestedState = nextState;
ASSERT(m_requestedState != SQLTransactionState::End);
m_database->scheduleTransactionStep(this);
« no previous file with comments | « Source/WebCore/Modules/webdatabase/SQLTransaction.cpp ('k') | Source/WebCore/Modules/websockets/WebSocket.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698