Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3067)

Unified Diff: base/string_util.h

Issue 8885: Implementation of the UI part of the autofill (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/string_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/string_util.h
===================================================================
--- base/string_util.h (revision 4621)
+++ base/string_util.h (working copy)
@@ -274,10 +274,12 @@
const char* b);
// Returns true if str starts with search, or false otherwise.
-// This only works on ASCII strings.
bool StartsWithASCII(const std::string& str,
const std::string& search,
bool case_sensitive);
+bool StartsWith(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).
« no previous file with comments | « no previous file | base/string_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698