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

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

Issue 816223008: Update UI for WebStore bundle installs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bundles_api
Patch Set: style fix Created 5 years, 8 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/extensions/bundle_installer.cc
diff --git a/chrome/browser/extensions/bundle_installer.cc b/chrome/browser/extensions/bundle_installer.cc
index 898bb23141c27dbdca839a2e6379e4dc11214a08..133215ca4ddb5abb8129a3473c632b97478ab4af 100644
--- a/chrome/browser/extensions/bundle_installer.cc
+++ b/chrome/browser/extensions/bundle_installer.cc
@@ -93,7 +93,7 @@ BundleInstaller::Item::~Item() {}
base::string16 BundleInstaller::Item::GetNameForDisplay() const {
base::string16 name = base::UTF8ToUTF16(localized_name);
base::i18n::AdjustStringForLocaleDirection(&name);
- return l10n_util::GetStringFUTF16(IDS_EXTENSION_PERMISSION_LINE, name);
+ return name;
}
BundleInstaller::BundleInstaller(Browser* browser,
@@ -277,7 +277,7 @@ void BundleInstaller::ShowPrompt() {
if (browser)
web_contents = browser->tab_strip_model()->GetActiveWebContents();
install_ui_.reset(new ExtensionInstallPrompt(web_contents));
- install_ui_->ConfirmBundleInstall(this, permissions.get());
+ install_ui_->ConfirmBundleInstall(this, &icon_, permissions.get());
}
}
« no previous file with comments | « chrome/app/nibs/ExtensionInstalledBubbleBundle.xib ('k') | chrome/browser/extensions/extension_install_prompt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698