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

Issue 7685053: Fix variable names and comments in RandGenerator. (Closed)

Created:
9 years, 4 months ago by Denis Lagno
Modified:
9 years, 4 months ago
CC:
chromium-reviews, brettw-cc_chromium.org, Jói
Visibility:
Public.

Description

Fix variable names and comments in RandGenerator. (No semantic change intended). BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98098

Patch Set 1 : d #

Total comments: 6

Patch Set 2 : reflected comments #

Total comments: 2

Patch Set 3 : numeric_limits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -17 lines) Patch
M base/rand_util.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M base/rand_util.cc View 1 2 1 chunk +7 lines, -8 lines 0 comments Download
M base/rand_util_unittest.cc View 2 chunks +6 lines, -7 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Denis Lagno
please take a look
9 years, 4 months ago (2011-08-23 12:49:44 UTC) #1
Mark Mentovai
http://codereview.chromium.org/7685053/diff/7001/base/rand_util.cc File base/rand_util.cc (right): http://codereview.chromium.org/7685053/diff/7001/base/rand_util.cc#newcode47 base/rand_util.cc:47: DCHECK(n); The DCHECK_GT was a bit more expressive. Why ...
9 years, 4 months ago (2011-08-23 17:01:33 UTC) #2
Denis Lagno
http://codereview.chromium.org/7685053/diff/7001/base/rand_util.cc File base/rand_util.cc (right): http://codereview.chromium.org/7685053/diff/7001/base/rand_util.cc#newcode47 base/rand_util.cc:47: DCHECK(n); On 2011/08/23 17:01:33, Mark Mentovai wrote: > The ...
9 years, 4 months ago (2011-08-24 12:58:28 UTC) #3
Mark Mentovai
LGTM otherwise http://codereview.chromium.org/7685053/diff/12003/base/rand_util.cc File base/rand_util.cc (right): http://codereview.chromium.org/7685053/diff/12003/base/rand_util.cc#newcode52 base/rand_util.cc:52: uint64 max_acceptable_value = kuint64max / range * ...
9 years, 4 months ago (2011-08-24 14:03:02 UTC) #4
Denis Lagno
http://codereview.chromium.org/7685053/diff/12003/base/rand_util.cc File base/rand_util.cc (right): http://codereview.chromium.org/7685053/diff/12003/base/rand_util.cc#newcode52 base/rand_util.cc:52: uint64 max_acceptable_value = kuint64max / range * range - ...
9 years, 4 months ago (2011-08-24 16:42:44 UTC) #5
Mark Mentovai
OK. LGTM.
9 years, 4 months ago (2011-08-24 16:48:12 UTC) #6
commit-bot: I haz the power
9 years, 4 months ago (2011-08-24 19:58:40 UTC) #7
Change committed as 98098

Powered by Google App Engine
This is Rietveld 408576698