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

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

Issue 8430033: Adds a webstorePrivate method for silently installing extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 2 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/crx_installer.cc
diff --git a/chrome/browser/extensions/crx_installer.cc b/chrome/browser/extensions/crx_installer.cc
index cebc94800b4b8006415f976bde2e13cff664131d..7e151ac384077d95a1db49c952fa55f06e6d2008 100644
--- a/chrome/browser/extensions/crx_installer.cc
+++ b/chrome/browser/extensions/crx_installer.cc
@@ -56,7 +56,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 +415,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_ &&

Powered by Google App Engine
This is Rietveld 408576698