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

Unified Diff: chrome/browser/ui/webui/extensions/install_extension_handler.cc

Issue 10448037: Fix regression when off-store install is disabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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/ui/webui/extensions/install_extension_handler.cc
diff --git a/chrome/browser/ui/webui/extensions/install_extension_handler.cc b/chrome/browser/ui/webui/extensions/install_extension_handler.cc
index 6bdd0228666f957b810cd86cc35f134542bfbc62..b0aa4f94a006cacc495c311a877484c613a87423 100644
--- a/chrome/browser/ui/webui/extensions/install_extension_handler.cc
+++ b/chrome/browser/ui/webui/extensions/install_extension_handler.cc
@@ -82,6 +82,7 @@ void InstallExtensionHandler::HandleInstallMessage(const ListValue* args) {
CrxInstaller::Create(
ExtensionSystem::Get(profile)->extension_service(),
new ExtensionInstallUI(profile)));
+ crx_installer->set_allow_off_store_install(true);
crx_installer->InstallCrx(file_to_install_);
file_to_install_.clear();

Powered by Google App Engine
This is Rietveld 408576698