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

Issue 1125283003: Revert of Revert of Revert of Fixit: Factor out common base::Time* math operator overloads. (Closed)

Created:
5 years, 7 months ago by Garrett Casto
Modified:
5 years, 7 months ago
Reviewers:
Lei Zhang, Kunihiko Sakamoto, smut, miu
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Revert of Revert of Fixit: Factor out common base::Time* math operator overloads. (patchset #1 id:1 of https://codereview.chromium.org/1128273004/) Reason for revert: Still breaks iOS bots. Tracking at crbug.com/485435. Original issue's description: > Revert of Revert of Fixit: Factor out common base::Time* math operator overloads. (patchset #1 id:1 of https://codereview.chromium.org/1130953002/) > > Reason for revert: > iOS_Device builder was not rebuilding certain modules dependent on changes in base::Time. http://crbug.com/485435 > > Original issue's description: > > Revert of Fixit: Factor out common base::Time* math operator overloads. (patchset #2 id:40001 of https://codereview.chromium.org/1122443004/) > > > > Reason for revert: > > Broke iOS build. > > > > http://build.chromium.org/p/chromium.mac/builders/iOS_Device/builds/5621/steps/compile/logs/stdio > > > > Original issue's description: > > > Fixit: Factor out common base::Time* math operator overloads. > > > > > > This is part 1 of a 2-part change to fork base::TimeTicks into three > > > type-checked time classes (TimeTicks + ThreadTicks + TraceTicks). The > > > forking of TimeTicks will ensure values from different clocks are not > > > erroneously being mixed together when doing time math. > > > > > > In this change, the identical comparison and math operator overloads > > > found in base::Time and base::TimeTicks are being factored-out into a > > > templated base class. In a following change, this base class will also > > > be used to de-dupe this common functionality in the two new time > > > classes. > > > > > > BUG=467417 > > > > > > Committed: https://crrev.com/7ca717095b4758cb76e53e904b775852e46d646d > > > Cr-Commit-Position: refs/heads/master@{#328696} > > > > TBR=thestig@chromium.org,miu@chromium.org > > NOPRESUBMIT=true > > NOTREECHECKS=true > > NOTRY=true > > BUG=467417 > > > > Committed: https://crrev.com/a365825583412c355a449274bec70e41e992ffd7 > > Cr-Commit-Position: refs/heads/master@{#328706} > > TBR=thestig@chromium.org,ksakamoto@chromium.org > NOPRESUBMIT=true > BUG=467417, 485435 > > Committed: https://crrev.com/59fca1cd30487a013b942acf9d660dfcc639e25a > Cr-Commit-Position: refs/heads/master@{#328843} TBR=thestig@chromium.org,ksakamoto@chromium.org,smut@chromium.org,miu@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=467417, 485435 Committed: https://crrev.com/5025b5bd30daed552c65b3b7c0c0c03b9d360699 Cr-Commit-Position: refs/heads/master@{#328864}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+221 lines, -173 lines) Patch
M base/time/time.h View 17 chunks +208 lines, -160 lines 0 comments Download
M base/time/time.cc View 3 chunks +11 lines, -11 lines 0 comments Download
M base/time/time_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Garrett Casto
Created Revert of Revert of Revert of Fixit: Factor out common base::Time* math operator overloads.
5 years, 7 months ago (2015-05-07 22:30:33 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1125283003/1
5 years, 7 months ago (2015-05-07 22:34:18 UTC) #2
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 7 months ago (2015-05-07 22:37:08 UTC) #3
commit-bot: I haz the power
5 years, 7 months ago (2015-05-07 22:38:10 UTC) #4
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/5025b5bd30daed552c65b3b7c0c0c03b9d360699
Cr-Commit-Position: refs/heads/master@{#328864}

Powered by Google App Engine
This is Rietveld 408576698