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

Unified Diff: chrome/browser/google/google_brand.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
Index: chrome/browser/google/google_brand.cc
diff --git a/chrome/browser/google/google_brand.cc b/chrome/browser/google/google_brand.cc
index a4528444f062ad636845bae2836020b032593cc1..894efb5e96bb3da998e09bc40b41b38070a490e7 100644
--- a/chrome/browser/google/google_brand.cc
+++ b/chrome/browser/google/google_brand.cc
@@ -103,9 +103,9 @@ bool IsOrganic(const std::string& brand) {
if (found != end)
return true;
- return StartsWithASCII(brand, "EUB", true) ||
- StartsWithASCII(brand, "EUC", true) ||
- StartsWithASCII(brand, "GGR", true);
+ return base::StartsWithASCII(brand, "EUB", true) ||
+ base::StartsWithASCII(brand, "EUC", true) ||
+ base::StartsWithASCII(brand, "GGR", true);
}
bool IsOrganicFirstRun(const std::string& brand) {
@@ -117,8 +117,8 @@ bool IsOrganicFirstRun(const std::string& brand) {
}
#endif
- return StartsWithASCII(brand, "GG", true) ||
- StartsWithASCII(brand, "EU", true);
+ return base::StartsWithASCII(brand, "GG", true) ||
+ base::StartsWithASCII(brand, "EU", true);
}
bool IsInternetCafeBrandCode(const std::string& brand) {
« no previous file with comments | « chrome/browser/extensions/isolated_app_browsertest.cc ('k') | chrome/browser/local_discovery/device_description.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698