diff options
Diffstat (limited to 'base/string_util.h')
-rw-r--r-- | base/string_util.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/base/string_util.h b/base/string_util.h index bd95589..69ac608 100644 --- a/base/string_util.h +++ b/base/string_util.h @@ -175,15 +175,15 @@ std::string WideToUTF8(const std::wstring& wide); bool UTF8ToWide(const char* src, size_t src_len, std::wstring* output); std::wstring UTF8ToWide(const std::string& utf8); -bool WideToUTF16(const wchar_t* src, size_t src_len, std::string16* output); -std::string16 WideToUTF16(const std::wstring& wide); +bool WideToUTF16(const wchar_t* src, size_t src_len, string16* output); +string16 WideToUTF16(const std::wstring& wide); bool UTF16ToWide(const char16* src, size_t src_len, std::wstring* output); -std::wstring UTF16ToWide(const std::string16& utf8); +std::wstring UTF16ToWide(const string16& utf8); -bool UTF8ToUTF16(const char* src, size_t src_len, std::string16* output); -std::string16 UTF8ToUTF16(const std::string& utf8); +bool UTF8ToUTF16(const char* src, size_t src_len, string16* output); +string16 UTF8ToUTF16(const std::string& utf8); bool UTF16ToUTF8(const char16* src, size_t src_len, std::string* output); -std::string UTF16ToUTF8(const std::string16& utf16); +std::string UTF16ToUTF8(const string16& utf16); // Defines the error handling modes of WideToCodepage and CodepageToWide. class OnStringUtilConversionError { |