diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-27 13:26:15 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-27 13:26:15 +0000 |
commit | 832ba509218ab74a13bb8c362c658580f60050a6 (patch) | |
tree | 3ceed9698dda772e20f0ba234dbdde6bf33f8dbd /base/string_util.h | |
parent | 08c7fd6c46a0ec8101009e87ec4d45654440294d (diff) | |
download | chromium_src-832ba509218ab74a13bb8c362c658580f60050a6.zip chromium_src-832ba509218ab74a13bb8c362c658580f60050a6.tar.gz chromium_src-832ba509218ab74a13bb8c362c658580f60050a6.tar.bz2 |
Remove the hack in string_util for RLZ library.
The rlz library was updated to include the right header from these string functions.
BUG=None
TEST=trybots
Review URL: http://codereview.chromium.org/3506003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60636 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/string_util.h')
-rw-r--r-- | base/string_util.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/base/string_util.h b/base/string_util.h index 1b279a0..0b57b78 100644 --- a/base/string_util.h +++ b/base/string_util.h @@ -243,23 +243,6 @@ bool ContainsOnlyChars(const std::string& input, const std::string& characters); std::string WideToASCII(const std::wstring& wide); std::string UTF16ToASCII(const string16& utf16); -#ifdef RLZ_WIN_LIB_RLZ_LIB_H_ -// Forward-declares for functions in utf_string_conversions.h. They used to -// be here and they were moved. We keep these here temporarily until all -// callers are converted. -// -// Currently, the only user is the RLZ project which needs to be updated -// asynchronously. It's needed in only one file, so we key off of the ifdef -// for that particular file to allow this case yet prevent other users from -// adding dependencies on this file. -// -// TODO(brettw) delete these when we fix RLZ to use the right header. -std::wstring ASCIIToWide(const char* ascii); -std::wstring ASCIIToWide(const std::string& ascii); -string16 ASCIIToUTF16(const char* ascii); -string16 ASCIIToUTF16(const std::string& ascii); -#endif // RLZ_WIN_LIB_RLZ_LIB_H_ - // Converts the given wide string to the corresponding Latin1. This will fail // (return false) if any characters are more than 255. bool WideToLatin1(const std::wstring& wide, std::string* latin1); |