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

Unified Diff: components/gcm_driver/instance_id/instance_id_driver_unittest.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
Index: components/gcm_driver/instance_id/instance_id_driver_unittest.cc
diff --git a/components/gcm_driver/instance_id/instance_id_driver_unittest.cc b/components/gcm_driver/instance_id/instance_id_driver_unittest.cc
index af63866682c2cf4040321db2d8ae3ef430cab2e9..9474d2462ab5d91598a17c64425427b4651d5c5d 100644
--- a/components/gcm_driver/instance_id/instance_id_driver_unittest.cc
+++ b/components/gcm_driver/instance_id/instance_id_driver_unittest.cc
@@ -32,7 +32,8 @@ bool VerifyInstanceID(const std::string& str) {
// Checks if it is URL-safe base64 encoded.
for (auto ch : str) {
- if (!IsAsciiAlpha(ch) && !IsAsciiDigit(ch) && ch != '_' && ch != '-')
+ if (!base::IsAsciiAlpha(ch) && !base::IsAsciiDigit(ch) &&
+ ch != '_' && ch != '-')
return false;
}
return true;
« no previous file with comments | « components/content_settings/core/common/content_settings_pattern_parser.cc ('k') | components/omnibox/history_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698