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

Unified Diff: third_party/WebKit/Source/wtf/text/StringImpl.h

Issue 1523463004: Restore TextCaseSensitivity argument to literal {start,end}sWith (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
Index: third_party/WebKit/Source/wtf/text/StringImpl.h
diff --git a/third_party/WebKit/Source/wtf/text/StringImpl.h b/third_party/WebKit/Source/wtf/text/StringImpl.h
index f30ec2af721b2f93a7d801cdd1d2091ff7276758..7fc6b7c8082bc6c248b6e46a6fb2f1f243b9af1a 100644
--- a/third_party/WebKit/Source/wtf/text/StringImpl.h
+++ b/third_party/WebKit/Source/wtf/text/StringImpl.h
@@ -384,15 +384,19 @@ public:
size_t count(LChar) const;
bool startsWith(UChar) const;
- bool startsWith(const char*, unsigned matchLength) const;
+ bool startsWith(const char*, unsigned prefixLength) const;
bool startsWith(const StringImpl*) const;
+ bool startsWithIgnoringCase(const char*, unsigned prefixLength) const;
bool startsWithIgnoringCase(const StringImpl*) const;
+ bool startsWithIgnoringASCIICase(const char*, unsigned prefixLength) const;
bool startsWithIgnoringASCIICase(const StringImpl*) const;
bool endsWith(UChar) const;
- bool endsWith(const char*, unsigned matchLength) const;
+ bool endsWith(const char*, unsigned suffixLength) const;
bool endsWith(const StringImpl*) const;
+ bool endsWithIgnoringCase(const char*, unsigned suffixLength) const;
bool endsWithIgnoringCase(const StringImpl*) const;
+ bool endsWithIgnoringASCIICase(const char*, unsigned suffixLength) const;
bool endsWithIgnoringASCIICase(const StringImpl*) const;
PassRefPtr<StringImpl> replace(UChar, UChar);
« no previous file with comments | « third_party/WebKit/Source/wtf/text/AtomicString.h ('k') | third_party/WebKit/Source/wtf/text/StringImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698