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

Unified Diff: chrome/browser/character_encoding.h

Issue 5990008: Remove wstring from l10n_util. Part 1.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years 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
Index: chrome/browser/character_encoding.h
===================================================================
--- chrome/browser/character_encoding.h (revision 70069)
+++ chrome/browser/character_encoding.h (working copy)
@@ -25,14 +25,14 @@
// l10n_util::SortVectorWithStringKey to sort the encoding menu items
// by current locale character sequence. We need to keep the order within
// encoding category name, that's why we use category name as key.
- const std::wstring& GetStringKey() const { return encoding_category_name; }
+ const string16& GetStringKey() const { return encoding_category_name; }
// Encoding command id.
int encoding_id;
// Encoding display name.
- std::wstring encoding_display_name;
+ string16 encoding_display_name;
// Encoding category name.
- std::wstring encoding_category_name;
+ string16 encoding_category_name;
};
// Return canonical encoding name according to the command ID.

Powered by Google App Engine
This is Rietveld 408576698