Index: base/strings/string_util.h |
diff --git a/base/strings/string_util.h b/base/strings/string_util.h |
index c17429e62d43cea6dc6e8f9b12e2f2c85ca2a72d..f132319eb1fff0fb1f3fc911fa6f8a93ed64d8ac 100644 |
--- a/base/strings/string_util.h |
+++ b/base/strings/string_util.h |
@@ -311,6 +311,10 @@ BASE_EXPORT bool LowerCaseEqualsASCII(const char16* a_begin, |
const char16* a_end, |
const char* b); |
+// Performs a case-sensitive string compare. The behavior is undefined if both |
+// strings are not ASCII. |
+BASE_EXPORT bool EqualsASCII(const string16& a, const StringPiece& b); |
+ |
} // namespace base |
#if defined(OS_WIN) |
@@ -321,10 +325,6 @@ BASE_EXPORT bool LowerCaseEqualsASCII(const char16* a_begin, |
#error Define string operations appropriately for your platform |
#endif |
-// Performs a case-sensitive string compare. The behavior is undefined if both |
-// strings are not ASCII. |
-BASE_EXPORT bool EqualsASCII(const base::string16& a, const base::StringPiece& b); |
- |
// Returns true if str starts with search, or false otherwise. |
BASE_EXPORT bool StartsWithASCII(const std::string& str, |
const std::string& search, |