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

Unified Diff: storage/browser/database/database_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 | « sql/connection.cc ('k') | sync/util/get_session_name_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/database/database_util.cc
diff --git a/storage/browser/database/database_util.cc b/storage/browser/database/database_util.cc
index 113f5332bb8f96e09ce730f0d2064bed530090af..f020302fe4bfc007719c3f3a8c2d556c82d312f5 100644
--- a/storage/browser/database/database_util.cc
+++ b/storage/browser/database/database_util.cc
@@ -19,8 +19,8 @@ bool IsSafeSuffix(const base::string16& suffix) {
for (base::string16::const_iterator it = suffix.begin();
it < suffix.end(); ++it) {
base::char16 c = *it;
- if (!(IsAsciiAlpha(c) || IsAsciiDigit(c) ||
- c == '-' || c == '.' || c == '_')) {
+ if (!(base::IsAsciiAlpha(c) || base::IsAsciiDigit(c) ||
+ c == '-' || c == '.' || c == '_')) {
return false;
}
if (c == '.' && prev_c == '.')
« no previous file with comments | « sql/connection.cc ('k') | sync/util/get_session_name_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698