Home
last modified time | relevance | path

Searched refs:threat_type (Results 1 – 7 of 7) sorted by relevance

/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_blocking_page.cc146 unsafe_resources[0].threat_type == SafeBrowsingService::URL_MALWARE && in SafeBrowsingBlockingPage()
177 } else if (unsafe_resources_[0].threat_type == in GetHTMLContents()
182 DCHECK(unsafe_resources_[0].threat_type == in GetHTMLContents()
224 if (resource.threat_type == SafeBrowsingService::URL_MALWARE) { in PopulateMultipleThreatStringDictionary()
230 DCHECK(resource.threat_type == SafeBrowsingService::URL_PHISHING); in PopulateMultipleThreatStringDictionary()
408 if (unsafe_resources_[0].threat_type == SafeBrowsingService::URL_MALWARE) { in CommandReceived()
410 } else if (unsafe_resources_[0].threat_type == in CommandReceived()
462 DCHECK(unsafe_resources_[element_index].threat_type == in CommandReceived()
478 DCHECK(unsafe_resources_[element_index].threat_type == in CommandReceived()
Dprotocol_manager.cc652 SafeBrowsingService::UrlCheckResult threat_type, in ReportSafeBrowsingHit() argument
656 threat_type); in ReportSafeBrowsingHit()
767 SafeBrowsingService::UrlCheckResult threat_type) const { in SafeBrowsingHitUrl()
768 DCHECK(threat_type == SafeBrowsingService::URL_MALWARE || in SafeBrowsingHitUrl()
769 threat_type == SafeBrowsingService::URL_PHISHING || in SafeBrowsingHitUrl()
770 threat_type == SafeBrowsingService::BINARY_MALWARE_URL || in SafeBrowsingHitUrl()
771 threat_type == SafeBrowsingService::BINARY_MALWARE_HASH); in SafeBrowsingHitUrl()
776 switch (threat_type) { in SafeBrowsingHitUrl()
Dsafe_browsing_service.cc114 threat_type(SAFE), in UnsafeResource()
366 resource.threat_type= result; in DisplayBlockingPage()
462 entry.result = resource.threat_type; in OnBlockingPageDone()
1008 if (resource.threat_type != SafeBrowsingService::SAFE && CanReportStats()) { in DoDisplayBlockingPage()
1029 resource.threat_type, std::string() /* post_data */); in DoDisplayBlockingPage()
1042 SafeBrowsingService::UrlCheckResult threat_type, in ReportSafeBrowsingHit() argument
1057 threat_type, in ReportSafeBrowsingHit()
1066 SafeBrowsingService::UrlCheckResult threat_type, in ReportSafeBrowsingHitOnIOThread() argument
1074 << threat_type; in ReportSafeBrowsingHitOnIOThread()
1077 threat_type, post_data); in ReportSafeBrowsingHitOnIOThread()
Dsafe_browsing_service.h66 UrlCheckResult threat_type; member
257 UrlCheckResult threat_type,
372 UrlCheckResult threat_type,
Dprotocol_manager.h141 SafeBrowsingService::UrlCheckResult threat_type,
246 SafeBrowsingService::UrlCheckResult threat_type) const;
Dsafe_browsing_blocking_page_unittest.cc163 resource->threat_type = SafeBrowsingService::URL_MALWARE; in InitResource()
Dmalware_details_unittest.cc210 resource->threat_type = SafeBrowsingService::URL_MALWARE; in InitResource()