diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-29 19:58:57 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-29 19:58:57 +0000 |
commit | 42cba2fb14b47a0c9463763b7c8c83f36d2fcef5 (patch) | |
tree | ef873bab10a838d28cc81c0e927f156ee6b55b5e /net/ftp/ftp_util.h | |
parent | b82d265634ced5b6457dac631868e7270963fa7e (diff) | |
download | chromium_src-42cba2fb14b47a0c9463763b7c8c83f36d2fcef5.zip chromium_src-42cba2fb14b47a0c9463763b7c8c83f36d2fcef5.tar.gz chromium_src-42cba2fb14b47a0c9463763b7c8c83f36d2fcef5.tar.bz2 |
Convert net to use base::string16 instead of string16.
This is just a search-and-replace.
BUG=
Review URL: https://codereview.chromium.org/13329004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191432 0039d316-1c4b-4281-b951-d872f2087c98
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 |