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

Unified Diff: chrome/browser/download/download_util.cc

Issue 3127009: Convert infobar APIs to UTF-16. (Closed)
Patch Set: works Created 10 years, 4 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/download/download_util.cc
diff --git a/chrome/browser/download/download_util.cc b/chrome/browser/download/download_util.cc
index d6f8907c8b8ff13b39ababb0584b595d5cdf23ff..f61ac4c78f09a0ef786396512c5bf497cfd3e69f 100644
--- a/chrome/browser/download/download_util.cc
+++ b/chrome/browser/download/download_util.cc
@@ -305,7 +305,7 @@ void OpenChromeExtension(Profile* profile,
if (contents) {
contents->AddInfoBar(
new SimpleAlertInfoBarDelegate(contents,
- l10n_util::GetString(
+ l10n_util::GetStringUTF16(
IDS_EXTENSION_INCOGNITO_INSTALL_INFOBAR_LABEL),
ResourceBundle::GetSharedInstance().GetBitmapNamed(
IDR_INFOBAR_PLUGIN_INSTALL),

Powered by Google App Engine
This is Rietveld 408576698