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

Issue 2469993002: Assert enum type equivalence in UMA_HISTOGRAM_ENUMERATION (Closed)

Created:
4 years, 1 month ago by wychen
Modified:
4 years, 1 month ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Assert enum type equivalence in UMA_HISTOGRAM_ENUMERATION BUG=661401 Committed: https://crrev.com/ecc63b2b4e76669d5aee9c4045c33d1a684f425b Cr-Commit-Position: refs/heads/master@{#432799}

Patch Set 1 #

Total comments: 2

Patch Set 2 : move to internal #

Patch Set 3 : indentation #

Patch Set 4 : assert msg #

Patch Set 5 : wrap in while loop #

Patch Set 6 : for dry-run #

Patch Set 7 : revert "for dry-run" #

Patch Set 8 : add no-compile tests #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -3 lines) Patch
M base/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M base/metrics/histogram_macros_internal.h View 1 2 3 4 1 chunk +10 lines, -3 lines 1 comment Download
A base/metrics/histogram_unittest.nc View 1 2 3 4 5 6 7 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (12 generated)
Alexei Svitkine (slow)
https://codereview.chromium.org/2469993002/diff/1/base/metrics/histogram_macros.h File base/metrics/histogram_macros.h (right): https://codereview.chromium.org/2469993002/diff/1/base/metrics/histogram_macros.h#newcode45 base/metrics/histogram_macros.h:45: static_assert( \ Thanks for working on this! Just a ...
4 years, 1 month ago (2016-11-02 15:48:48 UTC) #2
wychen
https://codereview.chromium.org/2469993002/diff/1/base/metrics/histogram_macros.h File base/metrics/histogram_macros.h (right): https://codereview.chromium.org/2469993002/diff/1/base/metrics/histogram_macros.h#newcode45 base/metrics/histogram_macros.h:45: static_assert( \ On 2016/11/02 15:48:47, Alexei Svitkine (slow) wrote: ...
4 years, 1 month ago (2016-11-02 21:45:04 UTC) #3
Alexei Svitkine (slow)
lg assuming all the current offenders are cleaned up
4 years, 1 month ago (2016-11-03 16:47:29 UTC) #4
wychen
Added no-compile tests. dcheng@, could you take a look at the build file? Thanks!
4 years, 1 month ago (2016-11-16 18:04:08 UTC) #10
wychen
The last fix was landed. https://codereview.chromium.org/2486453002/ This should pass CQ now.
4 years, 1 month ago (2016-11-17 01:50:17 UTC) #11
Alexei Svitkine (slow)
lgtm
4 years, 1 month ago (2016-11-17 04:32:35 UTC) #16
dcheng
lgtm https://codereview.chromium.org/2469993002/diff/140001/base/metrics/histogram_macros_internal.h File base/metrics/histogram_macros_internal.h (right): https://codereview.chromium.org/2469993002/diff/140001/base/metrics/histogram_macros_internal.h#newcode112 base/metrics/histogram_macros_internal.h:112: name, 1, boundary, boundary + 1, flag)); \ ...
4 years, 1 month ago (2016-11-17 05:09:55 UTC) #17
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/2469993002/140001
4 years, 1 month ago (2016-11-17 06:29:16 UTC) #19
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 1 month ago (2016-11-17 07:23:41 UTC) #20
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 07:26:38 UTC) #22
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/ecc63b2b4e76669d5aee9c4045c33d1a684f425b
Cr-Commit-Position: refs/heads/master@{#432799}

Powered by Google App Engine
This is Rietveld 408576698