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

Unified Diff: chrome/browser/sync_file_system/drive_backend/drive_backend_util.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/drive_backend_util.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc b/chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc
index 9984d8e237c1830d91abeaf8223d412b3a5e086a..e6613c5386937e5e20e5fd86a79fa998c363f7bb 100644
--- a/chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc
+++ b/chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc
@@ -153,7 +153,7 @@ SyncStatusCode DriveApiErrorCodeToSyncStatusCode(
bool RemovePrefix(const std::string& str, const std::string& prefix,
std::string* out) {
- if (!base::StartsWithASCII(str, prefix, true)) {
+ if (!base::StartsWith(str, prefix, base::CompareCase::SENSITIVE)) {
if (out)
*out = str;
return false;

Powered by Google App Engine
This is Rietveld 408576698