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

Unified Diff: chrome/browser/extensions/extensions_ui.cc

Issue 31014: Port DictionaryValue to use string16 instead of wstring. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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/extensions/extensions_service.cc ('k') | chrome/browser/importer/importer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extensions_ui.cc
===================================================================
--- chrome/browser/extensions/extensions_ui.cc (revision 10828)
+++ chrome/browser/extensions/extensions_ui.cc (working copy)
@@ -30,8 +30,9 @@
void ExtensionsUIHTMLSource::StartDataRequest(const std::string& path,
int request_id) {
DictionaryValue localized_strings;
- localized_strings.SetString(L"title",
- l10n_util::GetString(IDS_EXTENSIONS_TITLE));
+ localized_strings.SetString(
+ ASCIIToUTF16("title"),
+ WideToUTF16Hack(l10n_util::GetString(IDS_EXTENSIONS_TITLE)));
static const StringPiece extensions_html(
ResourceBundle::GetSharedInstance().GetRawDataResource(
@@ -87,4 +88,3 @@
url += kExtensionsHost;
return GURL(url);
}
-
« no previous file with comments | « chrome/browser/extensions/extensions_service.cc ('k') | chrome/browser/importer/importer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698