diff options
Diffstat (limited to 'net/ftp/ftp_util.h')
-rw-r--r-- | net/ftp/ftp_util.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/net/ftp/ftp_util.h b/net/ftp/ftp_util.h index 41e9d5a..73e609e 100644 --- a/net/ftp/ftp_util.h +++ b/net/ftp/ftp_util.h @@ -30,26 +30,27 @@ class NET_EXPORT_PRIVATE FtpUtil { // Converts abbreviated month (like Nov) to its number (in range 1-12). // Note: in some locales abbreviations are more than three letters long, // and this function also handles them correctly. - static bool AbbreviatedMonthToNumber(const string16& text, int* number); + static bool AbbreviatedMonthToNumber(const base::string16& text, int* number); // Converts a "ls -l" date listing to time. The listing comes in three // columns. The first one contains month, the second one contains day // of month. The third one is either a time (and then we guess the year based // on |current_time|), or is a year (and then we don't know the time). - static bool LsDateListingToTime(const string16& month, - const string16& day, - const string16& rest, + static bool LsDateListingToTime(const base::string16& month, + const base::string16& day, + const base::string16& rest, 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, + static bool WindowsDateListingToTime(const base::string16& date, + const base::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); + static base::string16 GetStringPartAfterColumns(const base::string16& text, + int columns); }; } // namespace net |