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

Unified Diff: base/string_util.cc

Issue 7037014: wstring: remove wstring version of RemoveChars (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ugh Created 9 years, 7 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 | « base/string_util.h ('k') | webkit/plugins/npapi/plugin_group.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/string_util.cc
diff --git a/base/string_util.cc b/base/string_util.cc
index 4a191b4923a18c09af751b1c25255add7604f235..9582f4b9f90238d1152760b5a816abf429e7a4c7 100644
--- a/base/string_util.cc
+++ b/base/string_util.cc
@@ -184,19 +184,11 @@ bool RemoveCharsT(const STR& input,
return removed;
}
-bool RemoveChars(const std::wstring& input,
- const wchar_t remove_chars[],
- std::wstring* output) {
- return RemoveCharsT(input, remove_chars, output);
-}
-
-#if !defined(WCHAR_T_IS_UTF16)
bool RemoveChars(const string16& input,
const char16 remove_chars[],
string16* output) {
return RemoveCharsT(input, remove_chars, output);
}
-#endif
bool RemoveChars(const std::string& input,
const char remove_chars[],
« no previous file with comments | « base/string_util.h ('k') | webkit/plugins/npapi/plugin_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698