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

Unified Diff: base/string_util.h

Issue 275019: Re-attempt r28993... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months 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 28994)
+++ base/string_util.h (working copy)
@@ -120,6 +120,7 @@
const string16& EmptyString16();
extern const wchar_t kWhitespaceWide[];
+extern const char16 kWhitespaceUTF16[];
extern const char kWhitespaceASCII[];
// Removes characters in trim_chars from the beginning and end of input.
@@ -127,6 +128,9 @@
bool TrimString(const std::wstring& input,
const wchar_t trim_chars[],
std::wstring* output);
+bool TrimString(const string16& input,
+ const char16 trim_chars[],
+ string16* output);
bool TrimString(const std::string& input,
const char trim_chars[],
std::string* output);
@@ -147,6 +151,9 @@
TrimPositions TrimWhitespace(const std::wstring& input,
TrimPositions positions,
std::wstring* output);
+TrimPositions TrimWhitespace(const string16& input,
+ TrimPositions positions,
+ string16* output);
TrimPositions TrimWhitespaceASCII(const std::string& input,
TrimPositions positions,
std::string* output);
« 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