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

Unified Diff: trunk/src/chrome/common/net/url_fixer_upper.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/common/net/url_fixer_upper.cc
===================================================================
--- trunk/src/chrome/common/net/url_fixer_upper.cc (revision 257532)
+++ trunk/src/chrome/common/net/url_fixer_upper.cc (working copy)
@@ -51,7 +51,7 @@
void UTF8PartsToUTF16Parts(const std::string& text_utf8,
const url_parse::Parsed& parts_utf8,
url_parse::Parsed* parts) {
- if (base::IsStringASCII(text_utf8)) {
+ if (IsStringASCII(text_utf8)) {
*parts = parts_utf8;
return;
}
@@ -80,7 +80,7 @@
// This implementation is not so fast since it converts the text encoding
// twice. Please feel free to file a bug if this function hurts the
// performance of Chrome.
- DCHECK(base::IsStringUTF8(input));
+ DCHECK(IsStringUTF8(input));
base::string16 input16 = base::UTF8ToUTF16(input);
base::string16 output16;
base::TrimPositions result =

Powered by Google App Engine
This is Rietveld 408576698