diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 10:35:27 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 10:35:27 +0000 |
commit | b7394ff0fd9dc89187d40860e7e86386c373c9ab (patch) | |
tree | 3a3b37db268e304d9f867952486a07ce673c778a /webkit/glue | |
parent | 8ba4973cfcfe2a6b8c0cacca76fabe8b66d41646 (diff) | |
download | chromium_src-b7394ff0fd9dc89187d40860e7e86386c373c9ab.zip chromium_src-b7394ff0fd9dc89187d40860e7e86386c373c9ab.tar.gz chromium_src-b7394ff0fd9dc89187d40860e7e86386c373c9ab.tar.bz2 |
Fix the "ls -l" style date parser to correctly guess the year if it is not provided.
Also provide an infrastructure to mock the current time in the tests.
BUG=36293
TEST=net_unittests
Review URL: http://codereview.chromium.org/1120012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42447 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r-- | webkit/glue/ftp_directory_listing_response_delegate.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/ftp_directory_listing_response_delegate.cc b/webkit/glue/ftp_directory_listing_response_delegate.cc index 2a4ace9..d27b7ad 100644 --- a/webkit/glue/ftp_directory_listing_response_delegate.cc +++ b/webkit/glue/ftp_directory_listing_response_delegate.cc @@ -78,6 +78,7 @@ FtpDirectoryListingResponseDelegate::FtpDirectoryListingResponseDelegate( : client_(client), loader_(loader), original_response_(response), + buffer_(base::Time::Now()), updated_histograms_(false), had_parsing_error_(false) { Init(); |