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

Unified Diff: chrome/browser/predictors/autocomplete_action_predictor_unittest.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/predictors/autocomplete_action_predictor_unittest.cc
diff --git a/chrome/browser/predictors/autocomplete_action_predictor_unittest.cc b/chrome/browser/predictors/autocomplete_action_predictor_unittest.cc
index 00562c69ad27ced197e29ea84146fc237a31cac7..8c223853cb462751fe51ef40368647f9a4be0c0f 100644
--- a/chrome/browser/predictors/autocomplete_action_predictor_unittest.cc
+++ b/chrome/browser/predictors/autocomplete_action_predictor_unittest.cc
@@ -322,7 +322,8 @@ TEST_F(AutocompleteActionPredictorTest, DeleteOldIdsFromCaches) {
all_ids.push_back(row_id);
bool exclude_url =
- base::StartsWithASCII(test_url_db[i].url.path(), "/d", true) ||
+ base::StartsWith(test_url_db[i].url.path(), "/d",
+ base::CompareCase::SENSITIVE) ||
(test_url_db[i].days_from_now > maximum_days_to_keep_entry());
if (exclude_url)

Powered by Google App Engine
This is Rietveld 408576698