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

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

Issue 2925693003: Making CSD ReportType enum consistent. (Closed)
Patch Set: Handling SBThreatType enums as well Created 3 years, 6 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/safe_browsing/download_protection_service.cc
diff --git a/chrome/browser/safe_browsing/download_protection_service.cc b/chrome/browser/safe_browsing/download_protection_service.cc
index 43d631ddca872ef8e4e38446a9c0f3458e6d582d..aad28a885aeaddde13df3128d920789a185c623b 100644
--- a/chrome/browser/safe_browsing/download_protection_service.cc
+++ b/chrome/browser/safe_browsing/download_protection_service.cc
@@ -222,7 +222,7 @@ class DownloadUrlSBClient
}
bool IsDangerous(SBThreatType threat_type) const {
- return threat_type == SB_THREAT_TYPE_BINARY_MALWARE_URL;
+ return threat_type == SB_THREAT_TYPE_URL_BINARY_MALWARE;
}
// Implements SafeBrowsingDatabaseManager::Client.

Powered by Google App Engine
This is Rietveld 408576698