summaryrefslogtreecommitdiffstats
path: root/net/ftp/ftp_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/ftp/ftp_util.h')
-rw-r--r--net/ftp/ftp_util.h5
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);