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

Unified Diff: base/string_util.h

Issue 340057: Add first-class support for user scripts (Closed)
Patch Set: newness Created 11 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') | chrome/renderer/resources/greasemonkey_api.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/string_util.h
diff --git a/base/string_util.h b/base/string_util.h
index 1c58e91990a8a4e8a250d4f72af406de54427469..89caf4f29818f200a43de7fc32b2b03ff32d1397 100644
--- a/base/string_util.h
+++ b/base/string_util.h
@@ -291,6 +291,9 @@ bool StartsWith(const string16& str,
bool case_sensitive);
// Returns true if str ends with search, or false otherwise.
+bool EndsWith(const std::string& str,
+ const std::string& search,
+ bool case_sensitive);
bool EndsWith(const std::wstring& str,
const std::wstring& search,
bool case_sensitive);
« no previous file with comments | « no previous file | base/string_util.cc » ('j') | chrome/renderer/resources/greasemonkey_api.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698