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

Unified Diff: base/i18n/character_encoding.h

Issue 2619493002: Let the canonical name of invalid encoding be an empty string (Closed)
Patch Set: std::string Created 3 years, 11 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 | « no previous file | base/i18n/character_encoding.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/i18n/character_encoding.h
diff --git a/base/i18n/character_encoding.h b/base/i18n/character_encoding.h
index 5539ba451d93fa9c47b713157b092a0e401e0564..974cb5a6f9248a54c68d9dbfaf514064ec167cb3 100644
--- a/base/i18n/character_encoding.h
+++ b/base/i18n/character_encoding.h
@@ -12,7 +12,7 @@
namespace base {
// Return canonical encoding name according to the encoding alias name.
-BASE_I18N_EXPORT const char* GetCanonicalEncodingNameByAliasName(
+BASE_I18N_EXPORT std::string GetCanonicalEncodingNameByAliasName(
const std::string& alias_name);
} // namespace base
« no previous file with comments | « no previous file | base/i18n/character_encoding.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698