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

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: mihai Created 9 years, 1 month 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/crx_installer.h ('k') | chrome/browser/extensions/extension_browsertest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/crx_installer.cc
diff --git a/chrome/browser/extensions/crx_installer.cc b/chrome/browser/extensions/crx_installer.cc
index a8b39ca53f00becbd1153ae22653a0c79497066a..c650daa409ea7fcfb7a679dcf673f825a0b467e7 100644
--- a/chrome/browser/extensions/crx_installer.cc
+++ b/chrome/browser/extensions/crx_installer.cc
@@ -58,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
@@ -417,6 +418,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_ &&
« no previous file with comments | « chrome/browser/extensions/crx_installer.h ('k') | chrome/browser/extensions/extension_browsertest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698