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

Unified Diff: chrome/browser/ui/app_list/search/search_controller_factory.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/ui/app_list/search/search_controller_factory.cc
diff --git a/chrome/browser/ui/app_list/search/search_controller_factory.cc b/chrome/browser/ui/app_list/search/search_controller_factory.cc
index 9f4b4c1fe3dd91ddd0e86ded1f63d81363d35f34..f30a01b61fee89042a97a067d42bc357771c3ea9 100644
--- a/chrome/browser/ui/app_list/search/search_controller_factory.cc
+++ b/chrome/browser/ui/app_list/search/search_controller_factory.cc
@@ -48,9 +48,10 @@ const char kSuggestionsProviderFieldTrialEnabledPrefix[] = "Enabled";
// Returns whether the user is part of a group where the Suggestions provider is
// enabled.
bool IsSuggestionsSearchProviderEnabled() {
- return base::StartsWithASCII(
+ return base::StartsWith(
base::FieldTrialList::FindFullName(kSuggestionsProviderFieldTrialName),
- kSuggestionsProviderFieldTrialEnabledPrefix, true);
+ kSuggestionsProviderFieldTrialEnabledPrefix,
+ base::CompareCase::SENSITIVE);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698