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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service.cc

Issue 8586011: - Flip the flag for improved SafeBrowsing downoad protection. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Remove switch from the header file too. Created 9 years, 1 month 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/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));
}
}

Powered by Google App Engine
This is Rietveld 408576698