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

Issue 6688056: Updating DCHECK() to DCHECK_GE() in base/ dir (Closed)

Created:
9 years, 9 months ago by KushalP
Modified:
9 years, 7 months ago
CC:
chromium-reviews, pam+watch_chromium.org, brettw-cc_chromium.org, tfarina
Visibility:
Public.

Description

Updating DCHECK() to DCHECK_GE() in base/ dir BUG=58409

Patch Set 1 #

Patch Set 2 : Moving definition of kEmptyMessageSize into .mm file #

Total comments: 6

Patch Set 3 : Moving kEmptyMessageSize into namespace base #

Total comments: 8

Patch Set 4 : Removed comments and added classname to static var #

Total comments: 4

Patch Set 5 : Cleaning up indenting and removing extra protected marker #

Patch Set 6 : Moving constant and removing public marker #

Total comments: 2

Patch Set 7 : Moving const above destructor #

Patch Set 8 : Updating license header #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -21 lines) Patch
M base/mach_ipc_mac.h View 1 2 3 4 5 6 7 4 chunks +2 lines, -11 lines 0 comments Download
M base/mach_ipc_mac.mm View 1 2 3 4 5 6 7 3 chunks +6 lines, -2 lines 0 comments Download
M base/message_pump_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/path_service.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M base/pickle.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M base/shared_memory_posix.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
KushalP
Hey guys, I'd appreciate it if someone could review my commits.
9 years, 9 months ago (2011-03-20 20:40:52 UTC) #1
tfarina
On 2011/03/20 20:40:52, KushalP wrote: > Hey guys, > > I'd appreciate it if someone ...
9 years, 9 months ago (2011-03-20 21:03:11 UTC) #2
KushalP
Thanks Thiago. Didn't realise I missed that. On 2011/03/20 21:03:11, tfarina wrote: > On 2011/03/20 ...
9 years, 9 months ago (2011-03-21 00:11:57 UTC) #3
Mohamed Mansour
LGTM
9 years, 9 months ago (2011-03-21 01:09:01 UTC) #4
KushalP
I've just looked through the Mac tryserver errors and I'm not sure where I've broken ...
9 years, 9 months ago (2011-03-22 12:41:51 UTC) #5
Peter Kasting
On 2011/03/22 12:41:51, KushalP wrote: > I've just looked through the Mac tryserver errors and ...
9 years, 9 months ago (2011-03-24 21:05:44 UTC) #6
KushalP
Okay, I've separated out the declaration and definition. However, I'm not so sure about whether ...
9 years, 9 months ago (2011-03-26 12:18:44 UTC) #7
Peter Kasting
http://codereview.chromium.org/6688056/diff/8001/base/mach_ipc_mac.h File base/mach_ipc_mac.h (right): http://codereview.chromium.org/6688056/diff/8001/base/mach_ipc_mac.h#newcode227 base/mach_ipc_mac.h:227: static const size_t kEmptyMessageSize; Nit: No need for comment ...
9 years, 9 months ago (2011-03-26 19:11:47 UTC) #8
KushalP
Done and uploaded new patch set. I'm curious, does moving kEmptyMessageSize into `namespace base` provide ...
9 years, 9 months ago (2011-03-26 20:23:13 UTC) #9
Peter Kasting
http://codereview.chromium.org/6688056/diff/13001/base/mach_ipc_mac.h File base/mach_ipc_mac.h (right): http://codereview.chromium.org/6688056/diff/13001/base/mach_ipc_mac.h#newcode223 base/mach_ipc_mac.h:223: // kEmptyMessageSize needs to have the definition of MachMessageData ...
9 years, 9 months ago (2011-03-26 23:48:24 UTC) #10
KushalP
Updated. http://codereview.chromium.org/6688056/diff/13001/base/mach_ipc_mac.h File base/mach_ipc_mac.h (right): http://codereview.chromium.org/6688056/diff/13001/base/mach_ipc_mac.h#newcode223 base/mach_ipc_mac.h:223: // kEmptyMessageSize needs to have the definition of ...
9 years, 9 months ago (2011-03-27 00:25:15 UTC) #11
Peter Kasting
http://codereview.chromium.org/6688056/diff/13001/base/mach_ipc_mac.h File base/mach_ipc_mac.h (right): http://codereview.chromium.org/6688056/diff/13001/base/mach_ipc_mac.h#newcode223 base/mach_ipc_mac.h:223: // kEmptyMessageSize needs to have the definition of MachMessageData ...
9 years, 9 months ago (2011-03-27 05:56:09 UTC) #12
KushalP
Everything should now be in order. http://codereview.chromium.org/6688056/diff/13001/base/mach_ipc_mac.h File base/mach_ipc_mac.h (right): http://codereview.chromium.org/6688056/diff/13001/base/mach_ipc_mac.h#newcode223 base/mach_ipc_mac.h:223: // kEmptyMessageSize needs ...
9 years, 9 months ago (2011-03-27 10:17:16 UTC) #13
Peter Kasting
LGTM with one nit http://codereview.chromium.org/6688056/diff/20001/base/mach_ipc_mac.h File base/mach_ipc_mac.h (right): http://codereview.chromium.org/6688056/diff/20001/base/mach_ipc_mac.h#newcode181 base/mach_ipc_mac.h:181: static const size_t kEmptyMessageSize; Nit: ...
9 years, 9 months ago (2011-03-27 19:22:59 UTC) #14
KushalP
http://codereview.chromium.org/6688056/diff/20001/base/mach_ipc_mac.h File base/mach_ipc_mac.h (right): http://codereview.chromium.org/6688056/diff/20001/base/mach_ipc_mac.h#newcode181 base/mach_ipc_mac.h:181: static const size_t kEmptyMessageSize; On 2011/03/27 19:22:59, Peter Kasting ...
9 years, 9 months ago (2011-03-27 20:18:27 UTC) #15
KushalP
Can this be closed/committed now? On 2011/03/27 20:18:27, KushalP wrote: > http://codereview.chromium.org/6688056/diff/20001/base/mach_ipc_mac.h > File base/mach_ipc_mac.h ...
9 years, 9 months ago (2011-03-29 12:34:50 UTC) #16
Peter Kasting
On 2011/03/29 12:34:50, KushalP wrote: > Can this be closed/committed now? Yes, I just haven't ...
9 years, 8 months ago (2011-03-31 01:05:23 UTC) #17
commit-bot: I haz the power
Presubmit check for 6688056-21008 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 8 months ago (2011-03-31 03:56:19 UTC) #18
Mohamed Mansour
Kushal, if you don't mind, can you please modify the license header and place "2011" ...
9 years, 8 months ago (2011-03-31 04:00:31 UTC) #19
KushalP
Sure thing! The license headers for the files that caused warnings have been updated. On ...
9 years, 8 months ago (2011-03-31 11:24:01 UTC) #20
Peter Kasting
9 years, 8 months ago (2011-03-31 20:34:31 UTC) #21
Landed in r80063, closing.

Powered by Google App Engine
This is Rietveld 408576698