From 7be0e1710c92420e5b15b3d0d1850a09848cf217 Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Thu, 14 May 2009 01:05:27 +0000 Subject: Retry r16006. Review URL: http://codereview.chromium.org/113369 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16025 0039d316-1c4b-4281-b951-d872f2087c98 --- base/string_util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'base/string_util.h') diff --git a/base/string_util.h b/base/string_util.h index c32bef3..84cb6e5 100644 --- a/base/string_util.h +++ b/base/string_util.h @@ -316,6 +316,10 @@ bool LowerCaseEqualsASCII(const wchar_t* a_begin, const wchar_t* a_end, const char* b); +// Performs a case-sensitive string compare. The behavior is undefined if both +// strings are not ASCII. +bool EqualsASCII(const string16& a, const StringPiece& b); + // Returns true if str starts with search, or false otherwise. bool StartsWithASCII(const std::string& str, const std::string& search, -- cgit v1.1