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

Unified Diff: net/tools/dump_cache/url_utilities.cc

Issue 1200053004: Move more string_util functions to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/tools/dump_cache/url_to_filename_encoder.cc ('k') | pdf/pdfium/pdfium_engine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/dump_cache/url_utilities.cc
diff --git a/net/tools/dump_cache/url_utilities.cc b/net/tools/dump_cache/url_utilities.cc
index 76044943ce744a6aca8a54d3286973db2457ebc3..807f18767fc124942097476ba0774670dd3c4070 100644
--- a/net/tools/dump_cache/url_utilities.cc
+++ b/net/tools/dump_cache/url_utilities.cc
@@ -87,7 +87,7 @@ std::string UrlUtilities::Unescape(const std::string& escaped_url) {
++iter;
break;
case ESCAPE1:
- if (IsHexDigit(c)) {
+ if (base::IsHexDigit(c)) {
escape_text.push_back(c);
state = ESCAPE2;
++iter;
@@ -98,7 +98,7 @@ std::string UrlUtilities::Unescape(const std::string& escaped_url) {
}
break;
case ESCAPE2:
- if (IsHexDigit(c)) {
+ if (base::IsHexDigit(c)) {
escape_text.push_back(c);
bool ok = base::HexStringToInt(escape_text, &escape_value);
DCHECK(ok);
« no previous file with comments | « net/tools/dump_cache/url_to_filename_encoder.cc ('k') | pdf/pdfium/pdfium_engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698