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

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

Issue 264763002: Support remote installation of extensions and apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add a first test, fix a bug Created 6 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/crx_installer_browsertest.cc
diff --git a/chrome/browser/extensions/crx_installer_browsertest.cc b/chrome/browser/extensions/crx_installer_browsertest.cc
index e32bc1bd0028f20325f8e4901da4ec14f3163cee..a6bc7cf7eaef75a2c583036d66377215cfd92d04 100644
--- a/chrome/browser/extensions/crx_installer_browsertest.cc
+++ b/chrome/browser/extensions/crx_installer_browsertest.cc
@@ -165,7 +165,7 @@ class ExtensionCrxInstallerTest : public ExtensionBrowserTest {
browser()->profile())->extension_service();
scoped_refptr<CrxInstaller> installer(
CrxInstaller::Create(service, prompt.Pass(), approval));
- installer->set_allow_silent_install(true);
+ installer->set_allow_silent_install(CrxInstaller::GRANT_SILENTLY);
installer->set_is_gallery_install(true);
installer->InstallCrx(crx_path);
content::RunMessageLoop();

Powered by Google App Engine
This is Rietveld 408576698