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 07c7c0aa3a55fe5fba6e4c23ccf2d4354e58ee3a..3a53ff6efbffc9225a2963f5fed1be44b6e7a007 100644 |
--- a/chrome/browser/ui/webui/extensions/install_extension_handler.cc |
+++ b/chrome/browser/ui/webui/extensions/install_extension_handler.cc |
@@ -84,7 +84,8 @@ void InstallExtensionHandler::HandleInstallMessage(const ListValue* args) { |
CrxInstaller::Create( |
ExtensionSystem::Get(profile)->extension_service(), |
new ExtensionInstallPrompt(profile))); |
- crx_installer->set_allow_off_store_install(true); |
+ crx_installer->set_off_store_install_allow_reason( |
+ CrxInstaller::OffStoreInstallAllowedFromSettingsPage); |
const bool kCaseSensitive = false; |