Remove legacy StartsWithASCII function.
This replaces it with base::StartsWith and the appropriate case flag. Since the existing version only ever did case-insensitive tests in ASCII, there should be no behavior change.
BUG=506255
TBR=jam
Review URL: https://codereview.chromium.org/1242023005
Cr-Commit-Position: refs/heads/master@{#339175}
CrOS-Libchrome-Original-Commit: 955093110ad64d5ec6f5426991efaa4a680b5d6f
diff --git a/base/files/file_path.cc b/base/files/file_path.cc
index 51656d2..18775ed 100644
--- a/base/files/file_path.cc
+++ b/base/files/file_path.cc
@@ -1314,7 +1314,7 @@
#if defined(OS_ANDROID)
bool FilePath::IsContentUri() const {
- return StartsWithASCII(path_, "content://", false /*case_sensitive*/);
+ return StartsWith(path_, "content://", base::CompareCase::INSENSITIVE_ASCII);
}
#endif