| Index: net/base/net_string_util.h
|
| diff --git a/net/base/net_string_util.h b/net/base/net_string_util.h
|
| index ce5fdf5119fc1ebb5af59d11a734f2fc1ec6b303..5585c5a31a8a560e579ccb516828955db410146c 100644
|
| --- a/net/base/net_string_util.h
|
| +++ b/net/base/net_string_util.h
|
| @@ -16,12 +16,14 @@ namespace net {
|
|
|
| // Converts |text| using |charset| to UTF-8, and writes it to |output|.
|
| // On failure, returns false and |output| is cleared.
|
| -bool ConvertToUtf8(const std::string& text, const char* charset,
|
| +bool ConvertToUtf8(const std::string& text,
|
| + const char* charset,
|
| std::string* output);
|
|
|
| // Converts |text| using |charset| to UTF-8, normalizes the result, and writes
|
| // it to |output|. On failure, returns false and |output| is cleared.
|
| -bool ConvertToUtf8AndNormalize(const std::string& text, const char* charset,
|
| +bool ConvertToUtf8AndNormalize(const std::string& text,
|
| + const char* charset,
|
| std::string* output);
|
|
|
| // Converts |text| encoded in Latin-1 to UTF-8, normalizes the result, and
|
| @@ -31,7 +33,8 @@ bool ConvertLatin1ToUtf8AndNormalize(const std::string& text,
|
|
|
| // Converts |text| using |charset| to UTF-16, and writes it to |output|.
|
| // On failure, returns false and |output| is cleared.
|
| -bool ConvertToUTF16(const std::string& text, const char* charset,
|
| +bool ConvertToUTF16(const std::string& text,
|
| + const char* charset,
|
| base::string16* output);
|
|
|
| // Converts |text| encoded in Latin-1 to UTF-16, and writes it to |output|.
|
|
|