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

Unified Diff: chrome/browser/chromeos/options/network_config_view.cc

Issue 6156001: Remove wstring from l10n_util. Part 8, the last part.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
Index: chrome/browser/chromeos/options/network_config_view.cc
===================================================================
--- chrome/browser/chromeos/options/network_config_view.cc (revision 70736)
+++ chrome/browser/chromeos/options/network_config_view.cc (working copy)
@@ -31,7 +31,8 @@
NetworkConfigView::NetworkConfigView()
: browser_mode_(true),
- title_(l10n_util::GetString(IDS_OPTIONS_SETTINGS_OTHER_NETWORKS)),
+ title_(UTF16ToWide(
+ l10n_util::GetStringUTF16(IDS_OPTIONS_SETTINGS_OTHER_NETWORKS))),
wificonfig_view_(new WifiConfigView(this)),
delegate_(NULL) {
}
@@ -43,7 +44,7 @@
std::wstring NetworkConfigView::GetDialogButtonLabel(
MessageBoxFlags::DialogButton button) const {
if (button == MessageBoxFlags::DIALOGBUTTON_OK)
- return l10n_util::GetString(IDS_OPTIONS_SETTINGS_CONNECT);
+ return UTF16ToWide(l10n_util::GetStringUTF16(IDS_OPTIONS_SETTINGS_CONNECT));
return std::wstring();
}
« no previous file with comments | « chrome/browser/chromeos/options/language_pinyin_config_view.cc ('k') | chrome/browser/chromeos/options/options_window_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698