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

Unified Diff: net/tools/dump_cache/url_to_filename_encoder.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/http/http_security_headers.cc ('k') | net/tools/dump_cache/url_utilities.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/dump_cache/url_to_filename_encoder.cc
diff --git a/net/tools/dump_cache/url_to_filename_encoder.cc b/net/tools/dump_cache/url_to_filename_encoder.cc
index b807ec092671b01671277fd1986f97a75d4c7797..083b9c546a9d100726b0e659ad076f8526fa5fd7 100644
--- a/net/tools/dump_cache/url_to_filename_encoder.cc
+++ b/net/tools/dump_cache/url_to_filename_encoder.cc
@@ -18,7 +18,7 @@ namespace {
// The function checks for '\0' for string termination.
int HexDigitsPrefix(const char* buf, int num_digits) {
for (int i = 0; i < num_digits; i++) {
- if (!IsHexDigit(buf[i]))
+ if (!base::IsHexDigit(buf[i]))
return 0; // This also detects end of string as '\0' is not xdigit.
}
return 1;
« no previous file with comments | « net/http/http_security_headers.cc ('k') | net/tools/dump_cache/url_utilities.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698