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 Review URL: https://chromiumcodereview.appspot.com/11308176 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170738 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment