/external/chromium_org/chrome/browser/safe_browsing/ |
D | ui_manager.cc | 39 SBThreatType threat_type; member 44 threat_type(SB_THREAT_TYPE_SAFE), in UnsafeResource() 102 if (resource.threat_type != SB_THREAT_TYPE_SAFE) { in DisplayBlockingPage() 133 if (resource.threat_type != SB_THREAT_TYPE_SAFE && in DisplayBlockingPage() 154 resource.is_subresource, resource.threat_type, in DisplayBlockingPage() 157 if (resource.threat_type != SB_THREAT_TYPE_SAFE) { in DisplayBlockingPage() 170 SBThreatType threat_type, in ReportSafeBrowsingHit() argument 180 threat_type, post_data)); in ReportSafeBrowsingHit() 198 SBThreatType threat_type, in ReportSafeBrowsingHitOnIOThread() argument 209 << threat_type; in ReportSafeBrowsingHitOnIOThread() [all …]
|
D | safe_browsing_blocking_page.cc | 213 (unsafe_resources[0].threat_type == SB_THREAT_TYPE_URL_MALWARE || in CreateSafeBrowsingPage() 214 unsafe_resources[0].threat_type == in CreateSafeBrowsingPage() 216 unsafe_resources[0].threat_type == SB_THREAT_TYPE_URL_PHISHING || in CreateSafeBrowsingPage() 217 unsafe_resources[0].threat_type == in CreateSafeBrowsingPage() 264 SBThreatType threat_type = resource.threat_type; in SafeBrowsingBlockingPage() local 265 if (threat_type == SB_THREAT_TYPE_URL_MALWARE || in SafeBrowsingBlockingPage() 266 threat_type == SB_THREAT_TYPE_CLIENT_SIDE_MALWARE_URL) { in SafeBrowsingBlockingPage() 269 DCHECK(threat_type == SB_THREAT_TYPE_URL_PHISHING || in SafeBrowsingBlockingPage() 270 threat_type == SB_THREAT_TYPE_CLIENT_SIDE_PHISHING_URL); in SafeBrowsingBlockingPage() 307 unsafe_resources[0].threat_type == SB_THREAT_TYPE_URL_MALWARE && in SafeBrowsingBlockingPage() [all …]
|
D | ping_manager.cc | 66 SBThreatType threat_type, in ReportSafeBrowsingHit() argument 70 threat_type); in ReportSafeBrowsingHit() 101 SBThreatType threat_type) const { in SafeBrowsingHitUrl() 102 DCHECK(threat_type == SB_THREAT_TYPE_URL_MALWARE || in SafeBrowsingHitUrl() 103 threat_type == SB_THREAT_TYPE_URL_PHISHING || in SafeBrowsingHitUrl() 104 threat_type == SB_THREAT_TYPE_BINARY_MALWARE_URL || in SafeBrowsingHitUrl() 105 threat_type == SB_THREAT_TYPE_CLIENT_SIDE_PHISHING_URL || in SafeBrowsingHitUrl() 106 threat_type == SB_THREAT_TYPE_CLIENT_SIDE_MALWARE_URL); in SafeBrowsingHitUrl() 110 switch (threat_type) { in SafeBrowsingHitUrl()
|
D | ui_manager.h | 47 SBThreatType threat_type; member 122 SBThreatType threat_type, 143 SBThreatType threat_type,
|
D | ping_manager.h | 45 SBThreatType threat_type, 70 SBThreatType threat_type) const;
|
D | download_protection_service.cc | 161 virtual bool IsDangerous(SBThreatType threat_type) const = 0; 167 void CheckDone(SBThreatType threat_type) { in CheckDone() argument 169 IsDangerous(threat_type) ? in CheckDone() 176 if (threat_type != SB_THREAT_TYPE_SAFE) { in CheckDone() 182 this, threat_type)); in CheckDone() 186 void ReportMalware(SBThreatType threat_type) { in ReportMalware() argument 199 threat_type, in ReportMalware() 245 virtual bool IsDangerous(SBThreatType threat_type) const OVERRIDE { in IsDangerous() 246 return threat_type == SB_THREAT_TYPE_BINARY_MALWARE_URL; in IsDangerous() 250 SBThreatType threat_type) OVERRIDE { in OnCheckDownloadUrlResult() argument [all …]
|
D | safe_browsing_blocking_page_test.cc | 115 void SetURLThreatType(const GURL& url, SBThreatType threat_type) { in SetURLThreatType() argument 116 badurls[url.spec()] = threat_type; in SetURLThreatType() 461 void SetURLThreatType(const GURL& url, SBThreatType threat_type) { in SetURLThreatType() argument 467 service->fake_database_manager()->SetURLThreatType(url, threat_type); in SetURLThreatType() 472 GURL SetupWarningAndNavigate(SBThreatType threat_type) { in SetupWarningAndNavigate() argument 474 SetURLThreatType(url, threat_type); in SetupWarningAndNavigate()
|
D | client_side_detection_host.cc | 419 if (resource.threat_type != SB_THREAT_TYPE_URL_PHISHING && in OnSafeBrowsingHit() 420 resource.threat_type != SB_THREAT_TYPE_URL_MALWARE) in OnSafeBrowsingHit() 595 resource.threat_type = SB_THREAT_TYPE_CLIENT_SIDE_PHISHING_URL; in MaybeShowPhishingWarning() 626 resource.threat_type = SB_THREAT_TYPE_CLIENT_SIDE_MALWARE_URL; in MaybeShowMalwareWarning()
|
D | database_manager.h | 103 SBThreatType threat_type) {} in OnCheckBrowseUrlResult() argument 107 SBThreatType threat_type) {} in OnCheckDownloadUrlResult() argument
|
D | client_side_detection_host_unittest.cc | 352 EXPECT_EQ(resource.threat_type, csd_host_->unsafe_resource_->threat_type); in TestUnsafeResourceCopied() 365 resource.threat_type = SB_THREAT_TYPE_URL_MALWARE; in SetUnsafeSubResourceForCurrent() 398 resource.threat_type = SB_THREAT_TYPE_URL_MALWARE; in NavigateWithSBHitAndCommit() 573 EXPECT_EQ(SB_THREAT_TYPE_CLIENT_SIDE_PHISHING_URL, resource.threat_type); in TEST_F() 663 EXPECT_EQ(SB_THREAT_TYPE_CLIENT_SIDE_PHISHING_URL, resource.threat_type); in TEST_F() 816 EXPECT_EQ(SB_THREAT_TYPE_CLIENT_SIDE_MALWARE_URL, resource.threat_type); in TEST_F()
|
D | safe_browsing_blocking_page_unittest.cc | 116 (unsafe_resources[0].threat_type == SB_THREAT_TYPE_URL_MALWARE || in CreateSafeBrowsingPage() 117 unsafe_resources[0].threat_type == SB_THREAT_TYPE_URL_PHISHING)) { in CreateSafeBrowsingPage() 242 resource->threat_type = SB_THREAT_TYPE_URL_MALWARE; in InitResource()
|
D | safe_browsing_test.cc | 350 SBThreatType threat_type) OVERRIDE { in OnCheckBrowseUrlResult() argument 354 threat_type == SB_THREAT_TYPE_SAFE); in OnCheckBrowseUrlResult()
|
D | safe_browsing_service_browsertest.cc | 362 arg.threat_type != SB_THREAT_TYPE_SAFE); 648 SBThreatType threat_type) OVERRIDE { in OnCheckDownloadUrlResult() argument 649 threat_type_ = threat_type; in OnCheckDownloadUrlResult()
|
D | database_manager.cc | 64 const SBThreatType threat_type, in IsExpectedThreat() argument 68 threat_type); in IsExpectedThreat()
|
D | browser_feature_extractor.cc | 307 static_cast<double>(info.unsafe_resource->threat_type), in ExtractBrowseInfoFeatures()
|
D | browser_feature_extractor_unittest.cc | 575 browse_info_->unsafe_resource->threat_type = SB_THREAT_TYPE_URL_MALWARE; in TEST_F()
|
D | malware_details_unittest.cc | 229 resource->threat_type = SB_THREAT_TYPE_URL_MALWARE; in InitResource()
|
D | download_protection_service_unittest.cc | 175 ACTION_P(CheckDownloadUrlDone, threat_type) { in ACTION_P() argument 184 check->url_results[i] = threat_type; in ACTION_P()
|
/external/chromium_org/chrome/browser/renderer_host/ |
D | safe_browsing_resource_throttle.cc | 83 const GURL& url, SBThreatType threat_type) { in OnCheckBrowseUrlResult() argument 90 threat_type_ = threat_type; in OnCheckBrowseUrlResult() 93 if (threat_type == SB_THREAT_TYPE_SAFE) { in OnCheckBrowseUrlResult() 117 resource.threat_type = threat_type; in OnCheckBrowseUrlResult()
|
/external/chromium_org/chrome/browser/prerender/ |
D | prerender_browsertest.cc | 677 void SetThreatTypeForUrl(const GURL& url, SBThreatType threat_type) { in SetThreatTypeForUrl() argument 679 threat_type_ = threat_type; in SetThreatTypeForUrl()
|