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

Unified Diff: chrome/browser/ui/views/local_storage_set_item_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
« no previous file with comments | « chrome/browser/ui/views/local_storage_info_view.cc ('k') | chrome/browser/ui/views/login_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/local_storage_set_item_info_view.cc
===================================================================
--- chrome/browser/ui/views/local_storage_set_item_info_view.cc (revision 70562)
+++ chrome/browser/ui/views/local_storage_set_item_info_view.cc (working copy)
@@ -47,7 +47,7 @@
void LocalStorageSetItemInfoView::ClearLocalStorageDisplay() {
std::wstring no_cookie_string =
- l10n_util::GetString(IDS_COOKIES_COOKIE_NONESELECTED);
+ UTF16ToWide(l10n_util::GetStringUTF16(IDS_COOKIES_COOKIE_NONESELECTED));
host_value_field_->SetText(no_cookie_string);
key_value_field_->SetText(no_cookie_string);
value_value_field_->SetText(no_cookie_string);
@@ -73,14 +73,15 @@
set_border(border);
// TODO(jorlow): These strings are not quite right, but we're post-freeze.
- views::Label* host_label = new views::Label(
- l10n_util::GetString(IDS_COOKIES_COOKIE_DOMAIN_LABEL));
+ // http://crbug.com/68688
Evan Martin 2011/01/06 19:48:28 Nice catch!
+ views::Label* host_label = new views::Label(UTF16ToWide(
+ l10n_util::GetStringUTF16(IDS_COOKIES_COOKIE_DOMAIN_LABEL)));
host_value_field_ = new views::Textfield;
- views::Label* key_label = new views::Label(
- l10n_util::GetString(IDS_COOKIES_LOCAL_STORAGE_KEY_LABEL));
+ views::Label* key_label = new views::Label(UTF16ToWide(
+ l10n_util::GetStringUTF16(IDS_COOKIES_LOCAL_STORAGE_KEY_LABEL)));
key_value_field_ = new views::Textfield;
- views::Label* value_label = new views::Label(
- l10n_util::GetString(IDS_COOKIES_LOCAL_STORAGE_VALUE_LABEL));
+ views::Label* value_label = new views::Label(UTF16ToWide(
+ l10n_util::GetStringUTF16(IDS_COOKIES_LOCAL_STORAGE_VALUE_LABEL)));
value_value_field_ = new views::Textfield;
using views::GridLayout;
« no previous file with comments | « chrome/browser/ui/views/local_storage_info_view.cc ('k') | chrome/browser/ui/views/login_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698