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

Issue 2229213002: Web SQL: Replace WTF_LOG() with STORAGE_DVLOG() or SQL_DVLOG(). (Closed)

Created:
4 years, 4 months ago by tkent
Modified:
4 years, 4 months ago
Reviewers:
michaeln
CC:
blink-reviews, chromium-reviews, haraken
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Web SQL: Replace WTF_LOG() with STORAGE_DVLOG() or SQL_DVLOG(). WTF_LOG() is deprecated. This CL introduce STORAGE_DVLOG(level), which shows logs with --vmodule=StorageLog=N, and SQL_DVLOG(level), which shows logs with --vmodule=SQLLog=N, and replace WTF_LOG(StorageAPI, ...) and WTF_LOG(SQLDatabase, ...). This CL doesn't affect production. BUG=596760 Committed: https://crrev.com/83ced803a3b4c0d55efd2a07f17af7b5809d67b4 Cr-Commit-Position: refs/heads/master@{#411499}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Using LAZY_STREAM #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -69 lines) Patch
M third_party/WebKit/Source/modules/modules.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/Database.cpp View 7 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp View 3 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/DatabaseTask.h View 5 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/DatabaseTask.cpp View 6 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/DatabaseThread.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/SQLStatement.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/SQLStatementBackend.cpp View 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/SQLTransaction.cpp View 3 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/SQLTransactionBackend.cpp View 7 chunks +11 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/SQLTransactionStateMachine.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/SQLTransactionStateMachine.cpp View 1 chunk +1 line, -2 lines 0 comments Download
A third_party/WebKit/Source/modules/webdatabase/StorageLog.h View 1 1 chunk +18 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webdatabase/sqlite/SQLLog.h View 1 1 chunk +18 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteDatabase.cpp View 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteStatement.cpp View 5 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/Logging.h View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/Logging.cpp View 2 chunks +0 lines, -8 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
tkent
michaeln@, would you review this please?
4 years, 4 months ago (2016-08-10 02:33:56 UTC) #6
michaeln
lgtm but please see comments about LAZY_STREAM https://codereview.chromium.org/2229213002/diff/1/third_party/WebKit/Source/modules/webdatabase/StorageLog.h File third_party/WebKit/Source/modules/webdatabase/StorageLog.h (right): https://codereview.chromium.org/2229213002/diff/1/third_party/WebKit/Source/modules/webdatabase/StorageLog.h#newcode13 third_party/WebKit/Source/modules/webdatabase/StorageLog.h:13: #define STORAGE_DVLOG(verbose_level) ...
4 years, 4 months ago (2016-08-11 00:19:35 UTC) #7
tkent
https://codereview.chromium.org/2229213002/diff/1/third_party/WebKit/Source/modules/webdatabase/StorageLog.h File third_party/WebKit/Source/modules/webdatabase/StorageLog.h (right): https://codereview.chromium.org/2229213002/diff/1/third_party/WebKit/Source/modules/webdatabase/StorageLog.h#newcode13 third_party/WebKit/Source/modules/webdatabase/StorageLog.h:13: #define STORAGE_DVLOG(verbose_level) !((verbose_level) <= ::logging::GetVlogLevel("StorageLog.h")) ? (void) 0 : ...
4 years, 4 months ago (2016-08-11 22:59:41 UTC) #8
michaeln
On 2016/08/11 22:59:41, tkent wrote: > https://codereview.chromium.org/2229213002/diff/1/third_party/WebKit/Source/modules/webdatabase/StorageLog.h > File third_party/WebKit/Source/modules/webdatabase/StorageLog.h (right): > > https://codereview.chromium.org/2229213002/diff/1/third_party/WebKit/Source/modules/webdatabase/StorageLog.h#newcode13 > ...
4 years, 4 months ago (2016-08-11 23:51:41 UTC) #11
tkent
On 2016/08/11 at 23:51:41, michaeln wrote: > nit: i know its not in blink's dna, ...
4 years, 4 months ago (2016-08-12 00:40:41 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2229213002/20001
4 years, 4 months ago (2016-08-12 00:58:43 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-12 01:04:36 UTC) #17
commit-bot: I haz the power
4 years, 4 months ago (2016-08-12 01:07:29 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/83ced803a3b4c0d55efd2a07f17af7b5809d67b4
Cr-Commit-Position: refs/heads/master@{#411499}

Powered by Google App Engine
This is Rietveld 408576698