Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(614)

Unified Diff: net/ftp/ftp_util.h

Issue 7590011: FTP: add directory listing parser for OS/2 format. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/ftp/ftp_util.h
diff --git a/net/ftp/ftp_util.h b/net/ftp/ftp_util.h
index a09953557b10b21f4ef52a37b62c6bc75497312f..d4fa49998261313f4709752b6c18a34f5575ccb0 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);

Powered by Google App Engine
This is Rietveld 408576698