Index: chrome/browser/safe_browsing/safe_browsing_service.cc |
diff --git a/chrome/browser/safe_browsing/safe_browsing_service.cc b/chrome/browser/safe_browsing/safe_browsing_service.cc |
index d1f0ae8c4124fb164dfd95fbbca00da110d1f4fa..e5c71aa0bbfa756c4f1204f253d891706fe0025b 100644 |
--- a/chrome/browser/safe_browsing/safe_browsing_service.cc |
+++ b/chrome/browser/safe_browsing/safe_browsing_service.cc |
@@ -1349,7 +1349,7 @@ void SafeBrowsingService::RefreshState() { |
csd_service_->SetEnabledAndRefreshState(enable); |
if (download_service_.get()) { |
download_service_->SetEnabled( |
- enable && CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableImprovedDownloadProtection)); |
+ enable && !CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kDisableImprovedDownloadProtection)); |
} |
} |