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

Unified Diff: trunk/src/net/ftp/ftp_network_transaction.cc

Issue 198163004: Revert 257524 "Move IsStringASCII/UTF8 to base namespace." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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 | « trunk/src/net/dns/dns_config_service_win.cc ('k') | trunk/src/net/http/http_content_disposition.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/net/ftp/ftp_network_transaction.cc
===================================================================
--- trunk/src/net/ftp/ftp_network_transaction.cc (revision 257532)
+++ trunk/src/net/ftp/ftp_network_transaction.cc (working copy)
@@ -152,7 +152,7 @@
return false;
std::string line(response.lines[0]);
- if (!base::IsStringASCII(line))
+ if (!IsStringASCII(line))
return false;
if (line.length() < 2)
return false;
@@ -830,7 +830,7 @@
// The response should be ASCII, which allows us to do case-insensitive
// comparisons easily. If it is not ASCII, we leave the system type
// as unknown.
- if (base::IsStringASCII(line)) {
+ if (IsStringASCII(line)) {
line = StringToLowerASCII(line);
// Remove all whitespace, to correctly handle cases like fancy "V M S"
« no previous file with comments | « trunk/src/net/dns/dns_config_service_win.cc ('k') | trunk/src/net/http/http_content_disposition.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698