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

Unified Diff: net/ftp/ftp_directory_listing_parser_os2.cc

Issue 1176583003: Move EqualsASCII to the base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string_util2
Patch Set: Created 5 years, 6 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
« no previous file with comments | « net/base/net_util_icu.cc ('k') | net/ftp/ftp_directory_listing_parser_vms.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ftp/ftp_directory_listing_parser_os2.cc
diff --git a/net/ftp/ftp_directory_listing_parser_os2.cc b/net/ftp/ftp_directory_listing_parser_os2.cc
index 094a9bdb8d8475e50b008d670249d909a619c231..a393d32926037949ef1f7d5c77c6e0dcf31c5e1e 100644
--- a/net/ftp/ftp_directory_listing_parser_os2.cc
+++ b/net/ftp/ftp_directory_listing_parser_os2.cc
@@ -40,12 +40,12 @@ bool ParseFtpDirectoryListingOS2(
FtpDirectoryListingEntry entry;
if (!base::StringToInt64(columns[0], &entry.size))
return false;
- if (EqualsASCII(columns[1], "DIR")) {
+ if (base::EqualsASCII(columns[1], "DIR")) {
if (entry.size != 0)
return false;
entry.type = FtpDirectoryListingEntry::DIRECTORY;
entry.size = -1;
- } else if (EqualsASCII(columns[1], "A")) {
+ } else if (base::EqualsASCII(columns[1], "A")) {
entry.type = FtpDirectoryListingEntry::FILE;
if (entry.size < 0)
return false;
« no previous file with comments | « net/base/net_util_icu.cc ('k') | net/ftp/ftp_directory_listing_parser_vms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698