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

Unified Diff: chrome/browser/chromeos/input_method/input_method_util.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/chromeos/input_method/input_method_util.h
===================================================================
--- chrome/browser/chromeos/input_method/input_method_util.h (revision 70069)
+++ chrome/browser/chromeos/input_method/input_method_util.h (working copy)
@@ -105,14 +105,13 @@
// internally.
// Examples: "fi" => "Finnish"
// "en-US" => "English (United States)"
-std::wstring GetLanguageDisplayNameFromCode(const std::string& language_code);
+string16 GetLanguageDisplayNameFromCode(const std::string& language_code);
// Converts a language code to a language native display name.
// MaybeRewriteLanguageName() is called internally.
// Examples: "fi" => "suomi" (rather than Finnish)
// "en-US" => "English (United States)"
-std::wstring GetLanguageNativeDisplayNameFromCode(
- const std::string& language_code);
+string16 GetLanguageNativeDisplayNameFromCode(const std::string& language_code);
// Sorts the given language codes by their corresponding language names,
// using the unicode string comparator. Uses unstable sorting.

Powered by Google App Engine
This is Rietveld 408576698