Index: base/string_util.h |
diff --git a/base/string_util.h b/base/string_util.h |
index c7f31153172ca22a688a718cad1825bea248c62d..0ae0185b057f599c66738c500386f07fcc928ce3 100644 |
--- a/base/string_util.h |
+++ b/base/string_util.h |
@@ -363,6 +363,12 @@ bool StartsWith(const std::wstring& str, |
const std::wstring& search, |
bool case_sensitive); |
+// Returns true if str ends with search, or false otherwise. |
+bool EndsWith(const std::wstring& str, |
+ const std::wstring& search, |
+ bool case_sensitive); |
+ |
+ |
// Determines the type of ASCII character, independent of locale (the C |
// library versions will change based on locale). |
template <typename Char> |