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

Unified Diff: sync/util/get_session_name_mac.mm

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 | « storage/browser/database/database_util.cc ('k') | tools/gn/command_args.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/util/get_session_name_mac.mm
diff --git a/sync/util/get_session_name_mac.mm b/sync/util/get_session_name_mac.mm
index e5f8b8f25c72b864834c2d3b56423abdac87587d..ddd2c3c56f4af82fbc66a34180116406222b7caf 100644
--- a/sync/util/get_session_name_mac.mm
+++ b/sync/util/get_session_name_mac.mm
@@ -36,7 +36,7 @@ std::string GetHardwareModelName() {
size_t length = sizeof(modelBuffer);
if (!sysctlbyname("hw.model", modelBuffer, &length, NULL, 0)) {
for (size_t i = 0; i < length; i++) {
- if (IsAsciiDigit(modelBuffer[i]))
+ if (base::IsAsciiDigit(modelBuffer[i]))
return std::string(modelBuffer, 0, i);
}
return std::string(modelBuffer, 0, length);
« no previous file with comments | « storage/browser/database/database_util.cc ('k') | tools/gn/command_args.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698