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

Issue 1128203010: base: Remove the remaining usage GG_(U)INTn_C macros. (Closed)

Created:
5 years, 7 months ago by tfarina
Modified:
5 years, 7 months ago
Reviewers:
danakj, viettrungluu
CC:
chromium-reviews, erikwright+watch_chromium.org, jshin+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

base: Remove the remaining usage of GG_(U)INTn_C macros. According to comment in base/port.h, in Chromium, we force-define __STDC_CONSTANT_MACROS, so we can just use the regular (U)INTn_C macros from <stdint.h>. BUG=138542 TEST=base_unittests R=danakj@chromium.org Committed: https://crrev.com/3208992c8e765e1fe07c1e77f071f3b0a801952f Cr-Commit-Position: refs/heads/master@{#330440}

Patch Set 1 #

Total comments: 8

Patch Set 2 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -22 lines) Patch
M base/containers/hash_tables_unittest.cc View 1 4 chunks +4 lines, -3 lines 0 comments Download
M base/rand_util.cc View 2 chunks +2 lines, -1 line 0 comments Download
M base/strings/string_number_conversions_unittest.cc View 9 chunks +14 lines, -13 lines 0 comments Download
M base/time/time_mac.cc View 2 chunks +2 lines, -1 line 0 comments Download
M base/time/time_posix.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/time/time_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M base/time/time_win.cc View 1 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 17 (3 generated)
tfarina
5 years, 7 months ago (2015-05-13 20:20:42 UTC) #1
danakj
On Wed, May 13, 2015 at 1:20 PM, <tfarina@chromium.org> wrote: > Reviewers: danakj, > > ...
5 years, 7 months ago (2015-05-13 20:25:17 UTC) #2
tfarina
On Wed, May 13, 2015 at 5:24 PM, Dana Jansens <danakj@chromium.org> wrote: > On Wed, ...
5 years, 7 months ago (2015-05-13 20:34:07 UTC) #3
danakj
On Wed, May 13, 2015 at 1:34 PM, Thiago Farina <tfarina@chromium.org> wrote: > > > ...
5 years, 7 months ago (2015-05-13 20:50:55 UTC) #4
danakj
+viettrungluu PTAL
5 years, 7 months ago (2015-05-13 20:51:31 UTC) #6
tfarina
Ping?
5 years, 7 months ago (2015-05-14 20:20:00 UTC) #7
viettrungluu
Can you remove the macro definitions themselves from port.h? https://codereview.chromium.org/1128203010/diff/1/base/containers/hash_tables_unittest.cc File base/containers/hash_tables_unittest.cc (right): https://codereview.chromium.org/1128203010/diff/1/base/containers/hash_tables_unittest.cc#newcode11 base/containers/hash_tables_unittest.cc:11: ...
5 years, 7 months ago (2015-05-14 21:32:33 UTC) #8
tfarina
I cannot remove the macro definitions from port.h yet as there uses outside of base. ...
5 years, 7 months ago (2015-05-14 22:07:47 UTC) #9
viettrungluu
On 2015/05/14 22:07:47, tfarina wrote: > I cannot remove the macro definitions from port.h yet ...
5 years, 7 months ago (2015-05-14 22:18:06 UTC) #10
danakj
Thanks for that explanation. LGTM % viettrungluu https://codereview.chromium.org/1128203010/diff/1/base/containers/hash_tables_unittest.cc File base/containers/hash_tables_unittest.cc (right): https://codereview.chromium.org/1128203010/diff/1/base/containers/hash_tables_unittest.cc#newcode8 base/containers/hash_tables_unittest.cc:8: no whitespace ...
5 years, 7 months ago (2015-05-14 22:27:52 UTC) #11
tfarina
https://codereview.chromium.org/1128203010/diff/1/base/containers/hash_tables_unittest.cc File base/containers/hash_tables_unittest.cc (right): https://codereview.chromium.org/1128203010/diff/1/base/containers/hash_tables_unittest.cc#newcode8 base/containers/hash_tables_unittest.cc:8: On 2015/05/14 22:27:52, danakj wrote: > no whitespace here ...
5 years, 7 months ago (2015-05-18 17:09:02 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1128203010/20001
5 years, 7 months ago (2015-05-18 17:10:24 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 7 months ago (2015-05-18 22:14:16 UTC) #16
commit-bot: I haz the power
5 years, 7 months ago (2015-05-18 22:44:44 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3208992c8e765e1fe07c1e77f071f3b0a801952f
Cr-Commit-Position: refs/heads/master@{#330440}

Powered by Google App Engine
This is Rietveld 408576698