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

Issue 4471001: Reland http://codereview.chromium.org/4139008, with a different (Closed)

Created:
10 years, 1 month ago by Aaron Boodman
Modified:
9 years, 6 months ago
CC:
chromium-reviews, ben+cc_chromium.org, Erik does not do reviews, pam+watch_chromium.org, Paweł Hajdan Jr., darin-cc_chromium.org, arv (Not doing code reviews), brettw-cc_chromium.org, Aaron Boodman, Mark Mentovai
Visibility:
Public.

Description

Reland http://codereview.chromium.org/4139008, with a different approach to creating version numbers. The old one had troubles with timezones. This one is simpler and better. BUG=49233 TEST=Covered by unit tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66582

Patch Set 1 #

Total comments: 1

Patch Set 2 : convert everything to utc #

Patch Set 3 : whoops #

Patch Set 4 : fix base::Time::FromExploded() on mac #

Patch Set 5 : add unit test for changes to mac base::Time #

Patch Set 6 : comment nit #

Total comments: 1

Patch Set 7 : latest not working crap #

Patch Set 8 : this crap still does not work #

Unified diffs Side-by-side diffs Delta from patch set Stats (+439 lines, -17 lines) Patch
M base/time_mac.cc View 4 5 6 3 chunks +12 lines, -8 lines 0 comments Download
M base/time_unittest.cc View 5 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/extensions/convert_user_script.h View 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/extensions/convert_web_app.h View 1 chunk +45 lines, -0 lines 0 comments Download
A chrome/browser/extensions/convert_web_app.cc View 1 2 3 1 chunk +171 lines, -0 lines 0 comments Download
A chrome/browser/extensions/convert_web_app_unittest.cc View 1 1 chunk +175 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/extension_constants.h View 1 chunk +0 lines, -1 line 0 comments Download
M webkit/glue/dom_operations.h View 2 chunks +18 lines, -8 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Aaron Boodman
10 years, 1 month ago (2010-11-04 15:35:08 UTC) #1
Erik does not do reviews
http://codereview.chromium.org/4471001/diff/1/3 File chrome/browser/extensions/convert_web_app.cc (right): http://codereview.chromium.org/4471001/diff/1/3#newcode63 chrome/browser/extensions/convert_web_app.cc:63: double millis = (create_time - create_time.LocalMidnight()).InMilliseconds(); I'm pretty sure ...
10 years, 1 month ago (2010-11-04 20:41:22 UTC) #2
Aaron Boodman
On 2010/11/04 20:41:22, Erik Kay wrote: > http://codereview.chromium.org/4471001/diff/1/3 > File chrome/browser/extensions/convert_web_app.cc (right): > > http://codereview.chromium.org/4471001/diff/1/3#newcode63 ...
10 years, 1 month ago (2010-11-04 21:52:45 UTC) #3
Aaron Boodman
Ok, ready for another look.
10 years, 1 month ago (2010-11-05 00:28:33 UTC) #4
Erik does not do reviews
LGTM
10 years, 1 month ago (2010-11-05 14:50:04 UTC) #5
Aaron Boodman
+jrg for mac changes This turned up a bug in base::Time on mac. I am ...
10 years, 1 month ago (2010-11-07 17:03:37 UTC) #6
John Grabowski
10 years, 1 month ago (2010-11-08 22:50:24 UTC) #7
Mac change LGTM

+cc mento since CFGregorianDateGetAbsoluteTime is also used in
message_pump_mac.mm

http://codereview.chromium.org/4471001/diff/25001/26001
File base/time_mac.cc (right):

http://codereview.chromium.org/4471001/diff/25001/26001#newcode80
base/time_mac.cc:80: // CFGregorianDateGetAbsoluteTime deals only in second
resolution.
Perhaps you can put the warning above the call to CFGregorianDateGetAbsoluteTime

Powered by Google App Engine
This is Rietveld 408576698