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

Unified Diff: chrome/browser/supervised_user/supervised_user_settings_service.cc

Issue 1220963005: Update base::StartsWith calls to new form (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@starts_with
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: chrome/browser/supervised_user/supervised_user_settings_service.cc
diff --git a/chrome/browser/supervised_user/supervised_user_settings_service.cc b/chrome/browser/supervised_user/supervised_user_settings_service.cc
index 80bf701b17833f3099fe75311fb3f62bd44ac8d0..40eb8ac3def658317f9f666a9de95949246d9757 100644
--- a/chrome/browser/supervised_user/supervised_user_settings_service.cc
+++ b/chrome/browser/supervised_user/supervised_user_settings_service.cc
@@ -44,7 +44,8 @@ const char kSplitSettings[] = "split_settings";
namespace {
bool SettingShouldApplyToPrefs(const std::string& name) {
- return !base::StartsWithASCII(name, kSupervisedUserInternalItemPrefix, false);
+ return !base::StartsWith(name, kSupervisedUserInternalItemPrefix,
+ base::CompareCase::INSENSITIVE_ASCII);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698