Index: base/string_util.h |
diff --git a/base/string_util.h b/base/string_util.h |
index 0b57b78858bb7496bf12aec4a351d62c6db4db09..7079127dfeabce4a9aa6fcaef5491e4ad718254b 100644 |
--- a/base/string_util.h |
+++ b/base/string_util.h |
@@ -558,7 +558,8 @@ bool ElideString(const std::wstring& input, int max_len, std::wstring* output); |
// string can contain wildcards like * and ? |
// The backslash character (\) is an escape character for * and ? |
// We limit the patterns to having a max of 16 * or ? characters. |
-bool MatchPattern(const std::string& string, const std::string& pattern); |
+bool MatchPattern(const base::StringPiece& string, |
+ const base::StringPiece& pattern); |
bool MatchPattern(const string16& string, const string16& pattern); |
// Hack to convert any char-like type to its unsigned counterpart. |