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

Issue 11308176: base/time_posix.cc: Use time64_t on Android. (Closed)

Created:
8 years, 1 month ago by digit1
Modified:
8 years ago
CC:
chromium-reviews, erikwright+watch_chromium.org, sail+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

base/time_posix.cc: Use time64_t on Android. Android's time_t is 32-bit by default, but the platform provides a <time64.h> providing for time64_t and associated functions. Use time64_t in base/time_posix.cc to implement base::Time::Exploded conversion routines. This avoids un-necessary clamping of the year to the 1901-2038 range when calling base::Time::Explode() or base::Time::FromExploded(). BUG=162007 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170738

Patch Set 1 #

Total comments: 3

Patch Set 2 : Simplify #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -12 lines) Patch
M base/time_posix.cc View 1 6 chunks +50 lines, -12 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
digit1
https://chromiumcodereview.appspot.com/11308176/diff/1/base/time_posix.cc File base/time_posix.cc (right): https://chromiumcodereview.appspot.com/11308176/diff/1/base/time_posix.cc#newcode97 base/time_posix.cc:97: struct SysTimeT { A small comment here: I'm not ...
8 years ago (2012-11-29 13:49:30 UTC) #1
brettw
https://chromiumcodereview.appspot.com/11308176/diff/1/base/time_posix.cc File base/time_posix.cc (right): https://chromiumcodereview.appspot.com/11308176/diff/1/base/time_posix.cc#newcode94 base/time_posix.cc:94: // Define a system-specific SysTimeT that wraps either to ...
8 years ago (2012-11-29 19:27:52 UTC) #2
digit1
https://chromiumcodereview.appspot.com/11308176/diff/1/base/time_posix.cc File base/time_posix.cc (right): https://chromiumcodereview.appspot.com/11308176/diff/1/base/time_posix.cc#newcode94 base/time_posix.cc:94: // Define a system-specific SysTimeT that wraps either to ...
8 years ago (2012-11-30 14:10:14 UTC) #3
brettw
lgtm
8 years ago (2012-11-30 20:52:33 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/digit@chromium.org/11308176/1002
8 years ago (2012-11-30 21:42:02 UTC) #5
commit-bot: I haz the power
Retried try job too often on win for step(s) compile
8 years ago (2012-11-30 21:59:55 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/digit@chromium.org/11308176/1002
8 years ago (2012-12-03 13:44:02 UTC) #7
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) ash_unittests
8 years ago (2012-12-03 14:42:21 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/digit@chromium.org/11308176/1002
8 years ago (2012-12-03 15:05:45 UTC) #9
commit-bot: I haz the power
8 years ago (2012-12-03 15:06:13 UTC) #10
Message was sent while issue was closed.
Change committed as 170738

Powered by Google App Engine
This is Rietveld 408576698