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

Issue 6880166: Improving logging in /app, /base, /crypto and /ipc. Updating plain DCHECK() usages for DCHECK_EQ/LE/ (Closed)

Created:
9 years, 8 months ago by KushalP
Modified:
9 years, 8 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, Paweł Hajdan Jr., pam+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Improving logging in /app, /base, /crypto and /ipc. Updating plain DCHECK() usages for DCHECK_EQ/LE/GE() equivalents. BUG=58409 TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=83362

Patch Set 1 #

Patch Set 2 : Updating license headers #

Patch Set 3 : Updating to fit (expected, actual) order #

Total comments: 2

Patch Set 4 : Separating out DCHECK()s into their respective use-cases #

Total comments: 2

Patch Set 5 : Keeping DCHECK() order the same #

Patch Set 6 : Fixing MS header bug. Static casting to ALG_ID #

Patch Set 7 : Static casting to DWORD to fix type mismatch #

Patch Set 8 : Static casting to DWORD to fix type mismatch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -49 lines) Patch
M app/win/iat_patch_function.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -3 lines 0 comments Download
M base/at_exit.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M crypto/cssm_init.cc View 1 2 1 chunk +10 lines, -10 lines 0 comments Download
M crypto/signature_creator_mac.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M crypto/signature_verifier_mac.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M crypto/signature_verifier_nss.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M crypto/signature_verifier_win.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_channel_win.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_sync_channel.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ipc/ipc_sync_message_unittest.cc View 1 2 3 4 11 chunks +65 lines, -27 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
KushalP
Hey guys, I've compiled and tested these changes on my system (Mac 10.6) but would ...
9 years, 8 months ago (2011-04-24 11:48:37 UTC) #1
Peter Kasting
Your entire patch needs to use "(expected, actual)" arg ordering.
9 years, 8 months ago (2011-04-25 18:33:06 UTC) #2
KushalP
On 2011/04/25 18:33:06, Peter Kasting wrote: > Your entire patch needs to use "(expected, actual)" ...
9 years, 8 months ago (2011-04-25 19:12:54 UTC) #3
KushalP
On 2011/04/25 19:12:54, KushalP wrote: > On 2011/04/25 18:33:06, Peter Kasting wrote: > > Your ...
9 years, 8 months ago (2011-04-25 19:29:50 UTC) #4
Peter Kasting
LGTM http://codereview.chromium.org/6880166/diff/8001/ipc/ipc_sync_message_unittest.cc File ipc/ipc_sync_message_unittest.cc (right): http://codereview.chromium.org/6880166/diff/8001/ipc/ipc_sync_message_unittest.cc#newcode59 ipc/ipc_sync_message_unittest.cc:59: DCHECK(in1 == 1 && !in2); Nit: While you're ...
9 years, 8 months ago (2011-04-25 19:59:15 UTC) #5
KushalP
http://codereview.chromium.org/6880166/diff/8001/ipc/ipc_sync_message_unittest.cc File ipc/ipc_sync_message_unittest.cc (right): http://codereview.chromium.org/6880166/diff/8001/ipc/ipc_sync_message_unittest.cc#newcode59 ipc/ipc_sync_message_unittest.cc:59: DCHECK(in1 == 1 && !in2); On 2011/04/25 19:59:15, Peter ...
9 years, 8 months ago (2011-04-25 20:10:06 UTC) #6
KushalP
I've pushed a new patch set. I've separated out the DCHECK() usages into better versions ...
9 years, 8 months ago (2011-04-25 20:36:00 UTC) #7
Peter Kasting
http://codereview.chromium.org/6880166/diff/14/ipc/ipc_sync_message_unittest.cc File ipc/ipc_sync_message_unittest.cc (right): http://codereview.chromium.org/6880166/diff/14/ipc/ipc_sync_message_unittest.cc#newcode60 ipc/ipc_sync_message_unittest.cc:60: DCHECK_EQ(1, in1); I don't understand why you changed the ...
9 years, 8 months ago (2011-04-26 01:31:01 UTC) #8
KushalP
Reverted the order of the conditions. It's now back to the same order. http://codereview.chromium.org/6880166/diff/14/ipc/ipc_sync_message_unittest.cc File ...
9 years, 8 months ago (2011-04-26 09:28:04 UTC) #9
Peter Kasting
LGTM
9 years, 8 months ago (2011-04-26 18:23:33 UTC) #10
KushalP
On 2011/04/26 18:23:33, Peter Kasting wrote: > LGTM Great! Quick question: Are my descriptions/messages enough ...
9 years, 8 months ago (2011-04-26 18:58:14 UTC) #11
tfarina
On 2011/04/26 18:58:14, KushalP wrote: > On 2011/04/26 18:23:33, Peter Kasting wrote: > > LGTM ...
9 years, 8 months ago (2011-04-26 19:00:54 UTC) #12
KushalP
Would a better description be something like: Improving logging in /app, /base, /crypto and /ipc. ...
9 years, 8 months ago (2011-04-26 19:07:29 UTC) #13
Peter Kasting
On 2011/04/26 18:58:14, KushalP wrote: > Quick question: Are my descriptions/messages enough for a commit? ...
9 years, 8 months ago (2011-04-26 19:08:23 UTC) #14
tfarina
On 2011/04/26 19:07:29, KushalP wrote: > Would a better description be something like: > > ...
9 years, 8 months ago (2011-04-26 19:09:04 UTC) #15
tfarina
On 2011/04/26 19:09:04, tfarina wrote: > On 2011/04/26 19:07:29, KushalP wrote: > > Would a ...
9 years, 8 months ago (2011-04-26 19:10:30 UTC) #16
KushalP
Okay. I've updated the description here accordingly.
9 years, 8 months ago (2011-04-26 19:16:43 UTC) #17
commit-bot: I haz the power
Presubmit check for 6880166-6014 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 8 months ago (2011-04-26 19:25:21 UTC) #18
KushalP
Should I CC one of these individuals accordingly?
9 years, 8 months ago (2011-04-26 19:26:48 UTC) #19
Peter Kasting
On 2011/04/26 19:26:48, KushalP wrote: > Should I CC one of these individuals accordingly? Add ...
9 years, 8 months ago (2011-04-26 19:28:58 UTC) #20
willchan no longer on Chromium
LGTM for base/, you will need someone for crypto/ On Tue, Apr 26, 2011 at ...
9 years, 8 months ago (2011-04-26 19:31:47 UTC) #21
Ryan Sleevi
LGTM for crypto. Note that when you add a reviewer, you may wish to "Publish ...
9 years, 8 months ago (2011-04-27 03:23:22 UTC) #22
KushalP
Didn't realise that. Thanks for letting me know!
9 years, 8 months ago (2011-04-27 09:04:27 UTC) #23
commit-bot: I haz the power
Try job failure for 6880166-6014 on win: http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=28840
9 years, 8 months ago (2011-04-28 14:38:35 UTC) #24
KushalP
On 2011/04/28 14:38:35, commit-bot wrote: > Try job failure for 6880166-6014 on win: > http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=28840 ...
9 years, 8 months ago (2011-04-28 15:01:54 UTC) #25
commit-bot: I haz the power
Try job failure for 6880166-10003 on win: http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=28842
9 years, 8 months ago (2011-04-28 15:12:22 UTC) #26
KushalP
On 2011/04/28 15:12:22, commit-bot wrote: > Try job failure for 6880166-10003 on win: > http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=28842 ...
9 years, 8 months ago (2011-04-28 15:28:54 UTC) #27
commit-bot: I haz the power
Try job failure for 6880166-8004 on win: http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=28858
9 years, 8 months ago (2011-04-28 17:13:14 UTC) #28
KushalP
On 2011/04/28 17:13:14, commit-bot wrote: > Try job failure for 6880166-8004 on win: > http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=28858 ...
9 years, 8 months ago (2011-04-28 17:20:39 UTC) #29
commit-bot: I haz the power
9 years, 8 months ago (2011-04-28 18:20:10 UTC) #30
Change committed as 83362

Powered by Google App Engine
This is Rietveld 408576698