diff options
author | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-18 00:42:48 +0000 |
---|---|---|
committer | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-18 00:42:48 +0000 |
commit | 85786f935163dd4c46dc2931111189e8d119d4d8 (patch) | |
tree | 41c674929dc600ac070fed446013754d87e34b83 /base/time_mac.cc | |
parent | 0effc1cb2317bc1e6ae41a8a1b831921e45d62bd (diff) | |
download | chromium_src-85786f935163dd4c46dc2931111189e8d119d4d8.zip chromium_src-85786f935163dd4c46dc2931111189e8d119d4d8.tar.gz chromium_src-85786f935163dd4c46dc2931111189e8d119d4d8.tar.bz2 |
Retrial of the first step to port file_util::CountFilesCreatedAfter()
Submitting http://codereview.chromium.org/75033 on behalf of hamaji
Review URL: http://codereview.chromium.org/67276
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13993 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/time_mac.cc')
-rw-r--r-- | base/time_mac.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/base/time_mac.cc b/base/time_mac.cc index e5391be..3e5e14a 100644 --- a/base/time_mac.cc +++ b/base/time_mac.cc @@ -41,6 +41,12 @@ Time Time::Now() { } // static +Time Time::NowFromSystemTime() { + // Just use Now() because Now() returns the system time. + return Now(); +} + +// static Time Time::FromExploded(bool is_local, const Exploded& exploded) { CFGregorianDate date; date.second = exploded.second + |