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

Unified Diff: chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_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/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc b/chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc
index 2d9308c78962cb3cf92e15d81fcc6e82545ece9d..89b84b484edae2e277cf4ff5526949f4d727d68b 100644
--- a/chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc
+++ b/chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util_unittest.cc
@@ -40,7 +40,8 @@ void VerifyNotExist(const std::string& key, leveldb::DB* db) {
itr->Seek(key);
EXPECT_TRUE(!itr->Valid() ||
- !base::StartsWithASCII(itr->key().ToString(), key, true));
+ !base::StartsWith(itr->key().ToString(), key,
+ base::CompareCase::SENSITIVE));
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698