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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_blocking_page.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/safe_browsing_blocking_page.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
index ba4698efe00b87c9f3a8e0491a6f4c3f7c382edf..d707364bcd6b2c50618d844074615a51ef15ea9c 100644
--- a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
@@ -141,9 +141,9 @@ bool SafeBrowsingBlockingPage::ShouldReportThreatDetails(
return threat_type == SB_THREAT_TYPE_URL_PHISHING ||
threat_type == SB_THREAT_TYPE_URL_MALWARE ||
threat_type == SB_THREAT_TYPE_URL_UNWANTED ||
- threat_type == SB_THREAT_TYPE_CLIENT_SIDE_PHISHING_URL ||
- threat_type == SB_THREAT_TYPE_CLIENT_SIDE_MALWARE_URL ||
- threat_type == SB_THREAT_TYPE_PASSWORD_PROTECTION_PHISHING_URL;
+ threat_type == SB_THREAT_TYPE_URL_CLIENT_SIDE_PHISHING ||
+ threat_type == SB_THREAT_TYPE_URL_CLIENT_SIDE_MALWARE ||
+ threat_type == SB_THREAT_TYPE_URL_PASSWORD_PROTECTION_PHISHING;
}
SafeBrowsingBlockingPage::~SafeBrowsingBlockingPage() {

Powered by Google App Engine
This is Rietveld 408576698