Index: base/strings/string_util.h |
diff --git a/base/strings/string_util.h b/base/strings/string_util.h |
index 755215c0850da117aa664fbc67a10285d3054456..4f113eda4d69859415ae758c7dce5221ab85457f 100644 |
--- a/base/strings/string_util.h |
+++ b/base/strings/string_util.h |
@@ -372,16 +372,6 @@ BASE_EXPORT bool EndsWith(StringPiece16 str, |
StringPiece16 search_for, |
CompareCase case_sensitivity); |
-// DEPRECATED. Returns true if str starts/ends with search, or false otherwise. |
-// TODO(brettw) remove in favor of the "enum" versions above. |
-inline bool StartsWithASCII(const std::string& str, |
- const std::string& search, |
- bool case_sensitive) { |
- return StartsWith(StringPiece(str), StringPiece(search), |
- case_sensitive ? CompareCase::SENSITIVE |
- : CompareCase::INSENSITIVE_ASCII); |
-} |
- |
// Determines the type of ASCII character, independent of locale (the C |
// library versions will change based on locale). |
template <typename Char> |