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

Unified Diff: chrome/browser/ui/app_list/app_list_syncable_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/ui/app_list/app_list_syncable_service.cc
diff --git a/chrome/browser/ui/app_list/app_list_syncable_service.cc b/chrome/browser/ui/app_list/app_list_syncable_service.cc
index 5a44a21f61a7bc8ce7acd746df02651a50591936..7ab733bf9cf1cedee37148ac3bdb5fea5f055249 100644
--- a/chrome/browser/ui/app_list/app_list_syncable_service.cc
+++ b/chrome/browser/ui/app_list/app_list_syncable_service.cc
@@ -142,7 +142,8 @@ bool GetAppListItemType(AppListItem* item,
}
bool IsDriveAppSyncId(const std::string& sync_id) {
- return base::StartsWithASCII(sync_id, kDriveAppSyncIdPrefix, true);
+ return base::StartsWith(sync_id, kDriveAppSyncIdPrefix,
+ base::CompareCase::SENSITIVE);
}
std::string GetDriveAppSyncId(const std::string& drive_app_id) {

Powered by Google App Engine
This is Rietveld 408576698