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

Issue 2675883002: Fixing mismatch between expected and declared minimum values. (Closed)

Created:
3 years, 10 months ago by romax
Modified:
3 years, 10 months ago
CC:
chromium-reviews, vmpstr+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixing mismatch between expected and declared minimum values. All the declared minimum values defined in Java histograms will be silently changed to 1 if it was 0 for CustomTimesHistogram. Adding the same check used in c++ histograms to change the value before calling CheckHistogramArgs. This would avoid a DCHECK described in the bug. BUG=681180 Review-Url: https://codereview.chromium.org/2675883002 Cr-Commit-Position: refs/heads/master@{#448705} Committed: https://chromium.googlesource.com/chromium/src/+/0e1108687b5138bd546120a861d730b8b5268342

Patch Set 1 #

Total comments: 1

Patch Set 2 : comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M base/android/record_histogram.cc View 1 1 chunk +7 lines, -3 lines 0 comments Download

Messages

Total messages: 26 (17 generated)
romax
Doing this since I'm not sure if putting 0 as minimum value is reasonable. There ...
3 years, 10 months ago (2017-02-03 02:47:12 UTC) #4
romax
Seems yfriedman@ would be OOO for a while. nyquist@ can you please take a look? ...
3 years, 10 months ago (2017-02-03 18:29:03 UTC) #8
nyquist
asvitkine: PTAL from a histogram perspective
3 years, 10 months ago (2017-02-07 17:56:21 UTC) #10
Alexei Svitkine (slow)
lgtm % comment https://codereview.chromium.org/2675883002/diff/1/base/android/record_histogram.cc File base/android/record_histogram.cc (right): https://codereview.chromium.org/2675883002/diff/1/base/android/record_histogram.cc#newcode59 base/android/record_histogram.cc:59: Histogram::InspectConstructionArguments( Can you assign the return ...
3 years, 10 months ago (2017-02-07 18:00:44 UTC) #11
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/2675883002/20001
3 years, 10 months ago (2017-02-07 19:29:00 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/358676)
3 years, 10 months ago (2017-02-07 19:37:43 UTC) #20
nyquist
rubberstamp lgtm
3 years, 10 months ago (2017-02-07 19:48:00 UTC) #21
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/2675883002/20001
3 years, 10 months ago (2017-02-07 19:49:14 UTC) #23
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 19:54:44 UTC) #26
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/0e1108687b5138bd546120a861d7...

Powered by Google App Engine
This is Rietveld 408576698