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

Issue 2797793002: Remove base::underlying_type, replace uses with std::underlying_type (Closed)

Created:
3 years, 8 months ago by danakj
Modified:
3 years, 8 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, qsr+mojo_chromium.org, ntp-dev+reviews_chromium.org, vmpstr+watch_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, bnc+watch_chromium.org, noyau+watch_chromium.org, danakj+watch_chromium.org, net-reviews_chromium.org, darin (slow to review), Nico
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove base::underlying_type, replace uses with std::underlying_type Also removes a one-off repeat of base::underlying_type in safe_numerics_impl. This type trait is now available in the libstdc++ we are building with. R=dcheng@chromium.org TBR=treib@chromium.org,gab@chromium.org,rockot@chromium.org,rch@chromium.org BUG=554293 Review-Url: https://codereview.chromium.org/2797793002 Cr-Commit-Position: refs/heads/master@{#462101} Committed: https://chromium.googlesource.com/chromium/src/+/6d0446e51df56fa7b2b3a0606fa549217ccf75b6

Patch Set 1 : underlyingtype: . #

Patch Set 2 : underlyingtype: rm-tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -58 lines) Patch
M base/logging.h View 1 chunk +1 line, -1 line 0 comments Download
M base/numerics/safe_conversions_impl.h View 1 chunk +0 lines, -22 lines 0 comments Download
M base/template_util.h View 1 chunk +0 lines, -13 lines 0 comments Download
M base/template_util_unittest.cc View 1 1 chunk +0 lines, -9 lines 0 comments Download
M components/ntp_snippets/content_suggestions_metrics.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M components/prefs/pref_value_store.h View 2 chunks +2 lines, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/bindings_internal.h View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/enum_macros.tmpl View 1 chunk +1 line, -1 line 0 comments Download
M net/http2/http2_structures_test.cc View 2 chunks +1 line, -2 lines 0 comments Download
M net/http2/tools/random_decoder_test.h View 2 chunks +3 lines, -4 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 31 (23 generated)
danakj
Same deal with patchset 1 and 2
3 years, 8 months ago (2017-04-04 23:31:58 UTC) #10
Nico
lgtm
3 years, 8 months ago (2017-04-04 23:39:55 UTC) #15
dcheng
lgtm
3 years, 8 months ago (2017-04-05 02:42:17 UTC) #18
danakj
+treib@chromium.org for components/ntp_snippets +gab@chromium.org for components/prefs +rockot@chromium.org for mojo/ +rch@chromium.org for net/ Will TBR for ...
3 years, 8 months ago (2017-04-05 15:05:55 UTC) #23
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/2797793002/60001
3 years, 8 months ago (2017-04-05 15:06:39 UTC) #25
Bence
net/ LGTM.
3 years, 8 months ago (2017-04-05 15:22:48 UTC) #27
commit-bot: I haz the power
Committed patchset #2 (id:60001) as https://chromium.googlesource.com/chromium/src/+/6d0446e51df56fa7b2b3a0606fa549217ccf75b6
3 years, 8 months ago (2017-04-05 16:23:30 UTC) #30
gab
3 years, 8 months ago (2017-04-06 15:57:40 UTC) #31
Message was sent while issue was closed.
On 2017/04/05 15:05:55, danakj wrote:
> https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=+treib@chromium.org for
components/ntp_snippets
> https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=+gab@chromium.org for
components/prefs

lgtm

> https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=+rockot@chromium.org for
mojo/
> https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=+rch@chromium.org for net/
> 
> Will TBR for all of this.

Powered by Google App Engine
This is Rietveld 408576698