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

Unified Diff: chrome/browser/chromeos/chromeos_utils.cc

Issue 1172183002: Move StartsWith[ASCII] to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string_util3
Patch Set: merger 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 | « chrome/browser/autofill/autofill_browsertest.cc ('k') | chrome/browser/chromeos/drive/file_system_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/chromeos_utils.cc
diff --git a/chrome/browser/chromeos/chromeos_utils.cc b/chrome/browser/chromeos/chromeos_utils.cc
index c6777e5fd8d95b7ee9b3beab7d896c4e8a0db353..e93a5ec91e6a4fbabe3aaf021d2f7052f0137e42 100644
--- a/chrome/browser/chromeos/chromeos_utils.cc
+++ b/chrome/browser/chromeos/chromeos_utils.cc
@@ -53,15 +53,15 @@ base::string16 GetChromeDeviceType() {
int GetChromeDeviceTypeResourceId() {
const std::string board = base::SysInfo::GetLsbReleaseBoard();
for (size_t i = 0; i < arraysize(kChromeboxBoards); ++i) {
- if (StartsWithASCII(board, kChromeboxBoards[i], true))
+ if (base::StartsWithASCII(board, kChromeboxBoards[i], true))
return IDS_CHROMEBOX;
}
for (size_t i = 0; i < arraysize(kChromebaseBoards); ++i) {
- if (StartsWithASCII(board, kChromebaseBoards[i], true))
+ if (base::StartsWithASCII(board, kChromebaseBoards[i], true))
return IDS_CHROMEBASE;
}
for (size_t i = 0; i < arraysize(kChromebitBoards); ++i) {
- if (StartsWithASCII(board, kChromebitBoards[i], true))
+ if (base::StartsWithASCII(board, kChromebitBoards[i], true))
return IDS_CHROMEBIT;
}
return IDS_CHROMEBOOK;
« no previous file with comments | « chrome/browser/autofill/autofill_browsertest.cc ('k') | chrome/browser/chromeos/drive/file_system_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698