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

Issue 467113002: Add CheckedRange<> and its test (Closed)

Created:
6 years, 4 months ago by Mark Mentovai
Modified:
6 years, 4 months ago
Reviewers:
Robert Sesek
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Project:
crashpad
Visibility:
Public.

Description

Add CheckedRange<> and its test. TEST=util_test CheckedRange R=rsesek@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/d05166c26c9f

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+363 lines, -0 lines) Patch
A util/numeric/checked_range.h View 1 1 chunk +115 lines, -0 lines 0 comments Download
A util/numeric/checked_range_test.cc View 1 chunk +246 lines, -0 lines 0 comments Download
M util/util.gyp View 1 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Mark Mentovai
6 years, 4 months ago (2014-08-13 05:07:52 UTC) #1
Robert Sesek
https://codereview.chromium.org/467113002/diff/1/util/numeric/checked_range.h File util/numeric/checked_range.h (right): https://codereview.chromium.org/467113002/diff/1/util/numeric/checked_range.h#newcode62 util/numeric/checked_range.h:62: base::CheckedNumeric<ValueType> checked_base_(base_); No underscore at the end of checked_base_, ...
6 years, 4 months ago (2014-08-14 20:55:52 UTC) #2
Mark Mentovai
https://codereview.chromium.org/467113002/diff/1/util/numeric/checked_range.h File util/numeric/checked_range.h (right): https://codereview.chromium.org/467113002/diff/1/util/numeric/checked_range.h#newcode67 util/numeric/checked_range.h:67: static_cast<ValueType>(size_)); rsesek wrote: > This read "fishy" for me ...
6 years, 4 months ago (2014-08-14 23:12:01 UTC) #3
Robert Sesek
LGTM
6 years, 4 months ago (2014-08-15 03:06:34 UTC) #4
Mark Mentovai
6 years, 4 months ago (2014-08-15 17:22:39 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as d05166c26c9f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698