diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-14 18:02:53 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-14 18:02:53 +0000 |
commit | 0f337f026ad2bca4d3eda9bb1cb8e5c9dc2dd7f3 (patch) | |
tree | 01373f58896646edb5760e14fb7bc1392e11cf1f /base/string_util.cc | |
parent | 7d33ff08cb916b595a15df22d991859f5e731ec6 (diff) | |
download | chromium_src-0f337f026ad2bca4d3eda9bb1cb8e5c9dc2dd7f3.zip chromium_src-0f337f026ad2bca4d3eda9bb1cb8e5c9dc2dd7f3.tar.gz chromium_src-0f337f026ad2bca4d3eda9bb1cb8e5c9dc2dd7f3.tar.bz2 |
base: remove various unused string utility functions
TEST=trybots
Review URL: http://codereview.chromium.org/3753003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62580 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/string_util.cc')
-rw-r--r-- | base/string_util.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/base/string_util.cc b/base/string_util.cc index e1b80f0..b242329 100644 --- a/base/string_util.cc +++ b/base/string_util.cc @@ -441,14 +441,6 @@ bool WideToLatin1(const std::wstring& wide, std::string* latin1) { return true; } -bool IsString8Bit(const std::wstring& str) { - for (size_t i = 0; i < str.length(); i++) { - if (str[i] > 255) - return false; - } - return true; -} - template<class STR> static bool DoIsStringASCII(const STR& str) { for (size_t i = 0; i < str.length(); i++) { @@ -826,15 +818,9 @@ std::string JoinString(const std::vector<std::string>& parts, char sep) { return JoinStringT(parts, sep); } -#if !defined(WCHAR_T_IS_UTF16) string16 JoinString(const std::vector<string16>& parts, char16 sep) { return JoinStringT(parts, sep); } -#endif - -std::wstring JoinString(const std::vector<std::wstring>& parts, wchar_t sep) { - return JoinStringT(parts, sep); -} template<typename STR> void SplitStringAlongWhitespaceT(const STR& str, std::vector<STR>* result) { |