Index: chrome/browser/download/chrome_download_manager_delegate.cc |
diff --git a/chrome/browser/download/chrome_download_manager_delegate.cc b/chrome/browser/download/chrome_download_manager_delegate.cc |
index 888704fcba20391db5fbecd4c7a71ca028e5c3b9..89f83e2d43a9b1a2a2d66e8913787dfd520b9309 100644 |
--- a/chrome/browser/download/chrome_download_manager_delegate.cc |
+++ b/chrome/browser/download/chrome_download_manager_delegate.cc |
@@ -496,7 +496,7 @@ bool ChromeDownloadManagerDelegate::IsDangerousFile( |
// Extensions that are not from the gallery are considered dangerous. |
// When off-store install is disabled we skip this, since in this case, we |
// will not offer to install the extension. |
- if (extensions::switch_utils::IsOffStoreInstallEnabled() && |
+ if (extensions::switch_utils::IsEasyOffStoreInstallEnabled() && |
download_crx_util::IsExtensionDownload(download) && |
!WebstoreInstaller::GetAssociatedApproval(download)) { |
return true; |