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

Unified Diff: chrome/browser/predictors/autocomplete_action_predictor_unittest.cc

Issue 1214183008: Update StartsWith calls to use new versions in chrome and content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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)
« no previous file with comments | « chrome/browser/predictors/autocomplete_action_predictor.cc ('k') | chrome/browser/prefetch/prefetch_field_trial.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698