summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/database_info_view.cc
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-06 21:39:37 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-06 21:39:37 +0000
commit7c1b7b42a72c34b0c2b4e1fff800f0ce534927e7 (patch)
treea06f67fb573152e5d9f4b8272b3390618586e28b /chrome/browser/ui/views/database_info_view.cc
parentec982fafef4ffe5605a11ebede334c4aa0ada852 (diff)
downloadchromium_src-7c1b7b42a72c34b0c2b4e1fff800f0ce534927e7.zip
chromium_src-7c1b7b42a72c34b0c2b4e1fff800f0ce534927e7.tar.gz
chromium_src-7c1b7b42a72c34b0c2b4e1fff800f0ce534927e7.tar.bz2
Remove wstring from l10n_util. Part 7.
BUG=9911 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/6088008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70654 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/views/database_info_view.cc')
-rw-r--r--chrome/browser/ui/views/database_info_view.cc14
1 files changed, 9 insertions, 5 deletions
diff --git a/chrome/browser/ui/views/database_info_view.cc b/chrome/browser/ui/views/database_info_view.cc
index 70596e3..065d814 100644
--- a/chrome/browser/ui/views/database_info_view.cc
+++ b/chrome/browser/ui/views/database_info_view.cc
@@ -35,7 +35,8 @@ DatabaseInfoView::~DatabaseInfoView() {
void DatabaseInfoView::SetDatabaseInfo(
const BrowsingDataDatabaseHelper::DatabaseInfo& database_info) {
name_value_field_->SetText(database_info.database_name.empty() ?
- l10n_util::GetString(IDS_COOKIES_WEB_DATABASE_UNNAMED_NAME) :
+ UTF16ToWide(
+ l10n_util::GetStringUTF16(IDS_COOKIES_WEB_DATABASE_UNNAMED_NAME)) :
UTF8ToWide(database_info.database_name));
description_value_field_->SetText(UTF8ToWide(database_info.description));
size_value_field_->SetText(
@@ -82,16 +83,19 @@ void DatabaseInfoView::Init() {
set_border(border);
views::Label* name_label = new views::Label(
- l10n_util::GetString(IDS_COOKIES_COOKIE_NAME_LABEL));
+ UTF16ToWide(l10n_util::GetStringUTF16(IDS_COOKIES_COOKIE_NAME_LABEL)));
name_value_field_ = new views::Textfield;
views::Label* description_label = new views::Label(
- l10n_util::GetString(IDS_COOKIES_WEB_DATABASE_DESCRIPTION_LABEL));
+ UTF16ToWide(l10n_util::GetStringUTF16(
+ IDS_COOKIES_WEB_DATABASE_DESCRIPTION_LABEL)));
description_value_field_ = new views::Textfield;
views::Label* size_label = new views::Label(
- l10n_util::GetString(IDS_COOKIES_LOCAL_STORAGE_SIZE_ON_DISK_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));
+ UTF16ToWide(l10n_util::GetStringUTF16(
+ IDS_COOKIES_LOCAL_STORAGE_LAST_MODIFIED_LABEL)));
last_modified_value_field_ = new views::Textfield;
using views::GridLayout;