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

Unified Diff: net/ftp/ftp_util.h

Issue 465035: Split FTP LIST parsing code into individual files for each listing style. (Closed)
Patch Set: fix Created 11 years 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
« no previous file with comments | « net/ftp/ftp_directory_listing_parsers_unittest.cc ('k') | net/ftp/ftp_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ftp/ftp_util.h
diff --git a/net/ftp/ftp_util.h b/net/ftp/ftp_util.h
index c71b919b406fbf38f35c591b37f4efea3f97c5bd..2a73c685565244938b28ce926a15d2e274cb0f4c 100644
--- a/net/ftp/ftp_util.h
+++ b/net/ftp/ftp_util.h
@@ -7,6 +7,8 @@
#include <string>
+#include "base/string16.h"
+
namespace net {
class FtpUtil {
@@ -19,6 +21,10 @@ class FtpUtil {
// Convert VMS path to Unix-style path.
static std::string VMSPathToUnix(const std::string& vms_path);
+
+ // Convert three-letter month abbreviation (like Nov) to its number (in range
+ // 1-12).
+ static bool ThreeLetterMonthToNumber(const string16& text, int* number);
};
} // namespace net
« no previous file with comments | « net/ftp/ftp_directory_listing_parsers_unittest.cc ('k') | net/ftp/ftp_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698