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

Unified Diff: trunk/src/chrome/browser/extensions/api/proxy/proxy_api_helpers.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
Index: trunk/src/chrome/browser/extensions/api/proxy/proxy_api_helpers.cc
===================================================================
--- trunk/src/chrome/browser/extensions/api/proxy/proxy_api_helpers.cc (revision 257532)
+++ trunk/src/chrome/browser/extensions/api/proxy/proxy_api_helpers.cc (working copy)
@@ -112,7 +112,7 @@
*bad_message = true;
return false;
}
- if (!base::IsStringASCII(pac_url16)) {
+ if (!IsStringASCII(pac_url16)) {
*error = "'pacScript.url' supports only ASCII URLs "
"(encode URLs in Punycode format).";
return false;
@@ -137,7 +137,7 @@
*bad_message = true;
return false;
}
- if (!base::IsStringASCII(pac_data16)) {
+ if (!IsStringASCII(pac_data16)) {
*error = "'pacScript.data' supports only ASCII code"
"(encode URLs in Punycode format).";
return false;
@@ -169,7 +169,7 @@
*bad_message = true;
return false;
}
- if (!base::IsStringASCII(host16)) {
+ if (!IsStringASCII(host16)) {
*error = ErrorUtils::FormatErrorMessage(
"Invalid 'rules.???.host' entry '*'. 'host' field supports only ASCII "
"URLs (encode URLs in Punycode format).",
@@ -272,7 +272,7 @@
*bad_message = true;
return false;
}
- if (!base::IsStringASCII(entry)) {
+ if (!IsStringASCII(entry)) {
*error = "'rules.bypassList' supports only ASCII URLs "
"(encode URLs in Punycode format).";
return false;

Powered by Google App Engine
This is Rietveld 408576698