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

Unified Diff: trunk/src/net/dns/dns_config_service_win.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/base/net_util_win.cc ('k') | trunk/src/net/ftp/ftp_network_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/net/dns/dns_config_service_win.cc
===================================================================
--- trunk/src/net/dns/dns_config_service_win.cc (revision 257532)
+++ trunk/src/net/dns/dns_config_service_win.cc (working copy)
@@ -139,7 +139,7 @@
return false;
// Check if already ASCII.
- if (base::IsStringASCII(widestr)) {
+ if (IsStringASCII(widestr)) {
*domain = base::UTF16ToASCII(widestr);
return true;
}
@@ -155,7 +155,7 @@
// copy. Since ASCII is a subset of UTF8 the following is equivalent).
bool success = base::UTF16ToUTF8(punycode.data(), punycode.length(), domain);
DCHECK(success);
- DCHECK(base::IsStringASCII(*domain));
+ DCHECK(IsStringASCII(*domain));
return success && !domain->empty();
}
« no previous file with comments | « trunk/src/net/base/net_util_win.cc ('k') | trunk/src/net/ftp/ftp_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698