/external/chromium_org/chrome/browser/safe_browsing/ |
D | ui_manager.cc | 40 SBThreatType threat_type; member 45 threat_type(SB_THREAT_TYPE_SAFE), in UnsafeResource() 101 resource.threat_type == SB_THREAT_TYPE_URL_MALWARE) { in DisplayBlockingPage() 120 if (resource.threat_type != SB_THREAT_TYPE_SAFE) { in DisplayBlockingPage() 151 if (resource.threat_type != SB_THREAT_TYPE_SAFE && in DisplayBlockingPage() 172 resource.is_subresource, resource.threat_type, in DisplayBlockingPage() 175 if (resource.threat_type != SB_THREAT_TYPE_SAFE) { in DisplayBlockingPage() 188 SBThreatType threat_type, in ReportSafeBrowsingHit() argument 198 threat_type, post_data)); in ReportSafeBrowsingHit() 216 SBThreatType threat_type, in ReportSafeBrowsingHitOnIOThread() argument [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 | safe_browsing_blocking_page.cc | 170 SBThreatType threat_type = resource.threat_type; in SafeBrowsingBlockingPage() local 171 if (threat_type == SB_THREAT_TYPE_URL_MALWARE || in SafeBrowsingBlockingPage() 172 threat_type == SB_THREAT_TYPE_CLIENT_SIDE_MALWARE_URL) { in SafeBrowsingBlockingPage() 174 } else if (threat_type == SB_THREAT_TYPE_URL_HARMFUL) { in SafeBrowsingBlockingPage() 177 DCHECK(threat_type == SB_THREAT_TYPE_URL_PHISHING || in SafeBrowsingBlockingPage() 178 threat_type == SB_THREAT_TYPE_CLIENT_SIDE_PHISHING_URL); in SafeBrowsingBlockingPage() 219 unsafe_resources[0].threat_type == SB_THREAT_TYPE_URL_MALWARE && in SafeBrowsingBlockingPage() 378 DCHECK(unsafe_resources_[element_index].threat_type == in CommandReceived() 380 unsafe_resources_[element_index].threat_type == in CommandReceived() 677 if (unsafe_resources[0].threat_type == in IsMainPageLoadBlocked()
|
D | ui_manager.h | 48 SBThreatType threat_type; member 124 SBThreatType threat_type, 145 SBThreatType threat_type,
|
D | ping_manager.h | 45 SBThreatType threat_type, 70 SBThreatType threat_type) const;
|
D | download_protection_service.cc | 165 virtual bool IsDangerous(SBThreatType threat_type) const = 0; 171 void CheckDone(SBThreatType threat_type) { in CheckDone() argument 173 IsDangerous(threat_type) ? in CheckDone() 180 if (threat_type != SB_THREAT_TYPE_SAFE) { in CheckDone() 186 this, threat_type)); in CheckDone() 190 void ReportMalware(SBThreatType threat_type) { in ReportMalware() argument 203 threat_type, in ReportMalware() 249 virtual bool IsDangerous(SBThreatType threat_type) const OVERRIDE { in IsDangerous() 250 return threat_type == SB_THREAT_TYPE_BINARY_MALWARE_URL; in IsDangerous() 254 SBThreatType threat_type) OVERRIDE { in OnCheckDownloadUrlResult() argument [all …]
|
D | safe_browsing_blocking_page_test.cc | 113 void SetURLThreatType(const GURL& url, SBThreatType threat_type) { in SetURLThreatType() argument 114 badurls[url.spec()] = threat_type; in SetURLThreatType() 394 void SetURLThreatType(const GURL& url, SBThreatType threat_type) { in SetURLThreatType() argument 400 service->fake_database_manager()->SetURLThreatType(url, threat_type); in SetURLThreatType() 405 GURL SetupWarningAndNavigate(SBThreatType threat_type) { in SetupWarningAndNavigate() argument 407 SetURLThreatType(url, threat_type); in SetupWarningAndNavigate()
|
D | client_side_detection_host.cc | 420 if (resource.threat_type != SB_THREAT_TYPE_URL_PHISHING && in OnSafeBrowsingHit() 421 resource.threat_type != SB_THREAT_TYPE_URL_MALWARE) in OnSafeBrowsingHit() 596 resource.threat_type = SB_THREAT_TYPE_CLIENT_SIDE_PHISHING_URL; in MaybeShowPhishingWarning() 627 resource.threat_type = SB_THREAT_TYPE_CLIENT_SIDE_MALWARE_URL; in MaybeShowMalwareWarning()
|
D | database_manager.h | 104 SBThreatType threat_type, in OnCheckBrowseUrlResult() argument 109 SBThreatType threat_type) {} in OnCheckDownloadUrlResult() argument
|
D | client_side_detection_host_unittest.cc | 351 EXPECT_EQ(resource.threat_type, csd_host_->unsafe_resource_->threat_type); in TestUnsafeResourceCopied() 364 resource.threat_type = SB_THREAT_TYPE_URL_MALWARE; in SetUnsafeSubResourceForCurrent() 397 resource.threat_type = SB_THREAT_TYPE_URL_MALWARE; in NavigateWithSBHitAndCommit() 569 EXPECT_EQ(SB_THREAT_TYPE_CLIENT_SIDE_PHISHING_URL, resource.threat_type); in TEST_F() 658 EXPECT_EQ(SB_THREAT_TYPE_CLIENT_SIDE_PHISHING_URL, resource.threat_type); in TEST_F() 811 EXPECT_EQ(SB_THREAT_TYPE_CLIENT_SIDE_MALWARE_URL, resource.threat_type); in TEST_F()
|
D | safe_browsing_test.cc | 353 SBThreatType threat_type, in OnCheckBrowseUrlResult() argument 358 threat_type == SB_THREAT_TYPE_SAFE); in OnCheckBrowseUrlResult()
|
D | safe_browsing_service_browsertest.cc | 366 arg.threat_type != SB_THREAT_TYPE_SAFE); 756 SBThreatType threat_type) OVERRIDE { in OnCheckDownloadUrlResult() argument 757 threat_type_ = threat_type; in OnCheckDownloadUrlResult()
|
D | browser_feature_extractor.cc | 294 static_cast<double>(info.unsafe_resource->threat_type), in ExtractBrowseInfoFeatures()
|
D | database_manager.cc | 64 const SBThreatType threat_type, in IsExpectedThreat() argument 68 threat_type); in IsExpectedThreat()
|
D | safe_browsing_blocking_page_unittest.cc | 201 resource->threat_type = SB_THREAT_TYPE_URL_MALWARE; in InitResource()
|
D | malware_details_unittest.cc | 229 resource->threat_type = SB_THREAT_TYPE_URL_MALWARE; in InitResource()
|
D | browser_feature_extractor_unittest.cc | 580 browse_info_->unsafe_resource->threat_type = SB_THREAT_TYPE_URL_MALWARE; in TEST_F()
|
D | download_protection_service_unittest.cc | 182 ACTION_P(CheckDownloadUrlDone, threat_type) { in ACTION_P() argument 191 check->url_results[i] = threat_type; in ACTION_P()
|
/external/chromium_org/chrome/browser/ui/webui/interstitials/ |
D | interstitial_ui.cc | 92 SBThreatType threat_type = SB_THREAT_TYPE_URL_MALWARE; in CreateSafeBrowsingBlockingPage() local 106 threat_type = SB_THREAT_TYPE_URL_MALWARE; in CreateSafeBrowsingBlockingPage() 108 threat_type = SB_THREAT_TYPE_URL_PHISHING; in CreateSafeBrowsingBlockingPage() 110 threat_type = SB_THREAT_TYPE_CLIENT_SIDE_MALWARE_URL; in CreateSafeBrowsingBlockingPage() 112 threat_type = SB_THREAT_TYPE_CLIENT_SIDE_PHISHING_URL; in CreateSafeBrowsingBlockingPage() 124 resource.threat_type = threat_type; in CreateSafeBrowsingBlockingPage()
|
/external/chromium_org/chrome/browser/renderer_host/ |
D | safe_browsing_resource_throttle.cc | 85 SBThreatType threat_type, in OnCheckBrowseUrlResult() argument 95 threat_type = SB_THREAT_TYPE_SAFE; in OnCheckBrowseUrlResult() 99 threat_type_ = threat_type; in OnCheckBrowseUrlResult() 102 if (threat_type == SB_THREAT_TYPE_SAFE) { in OnCheckBrowseUrlResult() 127 resource.threat_type = threat_type; in OnCheckBrowseUrlResult()
|
/external/chromium_org/chrome/browser/prerender/ |
D | prerender_browsertest.cc | 695 void SetThreatTypeForUrl(const GURL& url, SBThreatType threat_type) { in SetThreatTypeForUrl() argument 697 threat_type_ = threat_type; in SetThreatTypeForUrl()
|