Index: chrome/browser/extensions/crx_installer.cc |
diff --git a/chrome/browser/extensions/crx_installer.cc b/chrome/browser/extensions/crx_installer.cc |
index 514ebe26ed85a833c1e9d8d4b355ed924f8aa8d3..cff64aad6e14322f455db22f03b039cc6d7fad4c 100644 |
--- a/chrome/browser/extensions/crx_installer.cc |
+++ b/chrome/browser/extensions/crx_installer.cc |
@@ -44,6 +44,8 @@ |
namespace { |
+// TODO(jstritar): This whitelist is not profile aware. We should move this to |
+// WebstorePendingInstalls. |
struct Whitelist { |
Whitelist() {} |
std::set<std::string> ids; |
@@ -56,7 +58,8 @@ static base::LazyInstance<Whitelist> |
} // namespace |
CrxInstaller::WhitelistEntry::WhitelistEntry() |
- : use_app_installed_bubble(false) {} |
+ : use_app_installed_bubble(false), |
+ skip_post_install_ui(false) {} |
CrxInstaller::WhitelistEntry::~WhitelistEntry() {} |
// static |
@@ -414,6 +417,8 @@ void CrxInstaller::ConfirmInstall() { |
whitelisted = true; |
if (entry->use_app_installed_bubble) |
client_->set_use_app_installed_bubble(true); |
+ if (entry->skip_post_install_ui) |
+ client_->set_skip_post_install_ui(true); |
} |
if (client_ && |