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

Unified Diff: chrome/browser/ui/views/local_storage_info_view.cc

Issue 6088008: Remove wstring from l10n_util. Part 7.... (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/ui/views/local_storage_info_view.cc
===================================================================
--- chrome/browser/ui/views/local_storage_info_view.cc (revision 70562)
+++ chrome/browser/ui/views/local_storage_info_view.cc (working copy)
@@ -52,7 +52,7 @@
void LocalStorageInfoView::ClearLocalStorageDisplay() {
std::wstring no_cookie_string =
- l10n_util::GetString(IDS_COOKIES_COOKIE_NONESELECTED);
+ UTF16ToWide(l10n_util::GetStringUTF16(IDS_COOKIES_COOKIE_NONESELECTED));
origin_value_field_->SetText(no_cookie_string);
size_value_field_->SetText(no_cookie_string);
last_modified_value_field_->SetText(no_cookie_string);
@@ -78,14 +78,15 @@
kLocalStorageInfoViewBorderSize, border_color);
set_border(border);
- views::Label* origin_label = new views::Label(
- l10n_util::GetString(IDS_COOKIES_LOCAL_STORAGE_ORIGIN_LABEL));
+ views::Label* origin_label = new views::Label(UTF16ToWide(
+ l10n_util::GetStringUTF16(IDS_COOKIES_LOCAL_STORAGE_ORIGIN_LABEL)));
origin_value_field_ = new views::Textfield;
- views::Label* size_label = new views::Label(
- l10n_util::GetString(IDS_COOKIES_LOCAL_STORAGE_SIZE_ON_DISK_LABEL));
+ views::Label* size_label = new views::Label(UTF16ToWide(
+ l10n_util::GetStringUTF16(IDS_COOKIES_LOCAL_STORAGE_SIZE_ON_DISK_LABEL)));
size_value_field_ = new views::Textfield;
- views::Label* last_modified_label = new views::Label(
- l10n_util::GetString(IDS_COOKIES_LOCAL_STORAGE_LAST_MODIFIED_LABEL));
+ views::Label* last_modified_label = new views::Label(UTF16ToWide(
+ l10n_util::GetStringUTF16(
+ IDS_COOKIES_LOCAL_STORAGE_LAST_MODIFIED_LABEL)));
last_modified_value_field_ = new views::Textfield;
using views::GridLayout;

Powered by Google App Engine
This is Rietveld 408576698