diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-11 00:18:12 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-11 00:18:12 +0000 |
commit | 4c60ea0a14d9244f7e2cf95b670f503b2085786f (patch) | |
tree | 1db49fb31fafe168ee360a6c173fffbe4e1ecb04 /net/ftp/ftp_util.h | |
parent | 49308e282f35009310c4d8e904bfa5e07f52647b (diff) | |
download | chromium_src-4c60ea0a14d9244f7e2cf95b670f503b2085786f.zip chromium_src-4c60ea0a14d9244f7e2cf95b670f503b2085786f.tar.gz chromium_src-4c60ea0a14d9244f7e2cf95b670f503b2085786f.tar.bz2 |
FTP: add directory listing parser for OS/2 format.
BUG=92154
TEST=navigate to ftp://ftp.os4.su/ - no errors should appear
Review URL: http://codereview.chromium.org/7590011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96275 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/ftp/ftp_util.h')
-rw-r--r-- | net/ftp/ftp_util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/ftp/ftp_util.h b/net/ftp/ftp_util.h index a099535..d4fa499 100644 --- a/net/ftp/ftp_util.h +++ b/net/ftp/ftp_util.h @@ -43,6 +43,11 @@ class NET_TEST FtpUtil { const base::Time& current_time, base::Time* result); + // Converts a Windows date listing to time. Returns true on success. + static bool WindowsDateListingToTime(const string16& date, + const string16& time, + base::Time* result); + // Skips |columns| columns from |text| (whitespace-delimited), and returns the // remaining part, without leading/trailing whitespace. static string16 GetStringPartAfterColumns(const string16& text, int columns); |