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

Unified Diff: ui/base/l10n/l10n_util.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 | « ui/base/accelerators/accelerator.cc ('k') | ui/events/ozone/evdev/libgestures_glue/gesture_feedback.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/l10n/l10n_util.cc
diff --git a/ui/base/l10n/l10n_util.cc b/ui/base/l10n/l10n_util.cc
index 3191a51a17a5ee87d81e913e5316e03177081bce..a1695e94f92a97658f8549f6cabab0772dd04bfd 100644
--- a/ui/base/l10n/l10n_util.cc
+++ b/ui/base/l10n/l10n_util.cc
@@ -614,7 +614,7 @@ bool IsValidLocaleSyntax(const std::string& locale) {
// underscore.
for (size_t i = 0; i < prefix.size(); i++) {
char ch = prefix[i];
- if (!IsAsciiAlpha(ch) && !IsAsciiDigit(ch) && ch != '_')
+ if (!base::IsAsciiAlpha(ch) && !base::IsAsciiDigit(ch) && ch != '_')
return false;
}
@@ -627,7 +627,7 @@ bool IsValidLocaleSyntax(const std::string& locale) {
return false;
break;
}
- if (!IsAsciiAlpha(ch))
+ if (!base::IsAsciiAlpha(ch))
return false;
}
« no previous file with comments | « ui/base/accelerators/accelerator.cc ('k') | ui/events/ozone/evdev/libgestures_glue/gesture_feedback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698