Searched refs:threat_type (Results 1 - 21 of 21) sorted by relevance

/external/chromium_org/chrome/browser/safe_browsing/
H A Dui_manager.cc40 SBThreatType threat_type; member in struct:SafeBrowsingUIManager::WhiteListedEntry
45 threat_type(SB_THREAT_TYPE_SAFE),
101 resource.threat_type == SB_THREAT_TYPE_URL_MALWARE) {
120 if (resource.threat_type != SB_THREAT_TYPE_SAFE) {
151 if (resource.threat_type != SB_THREAT_TYPE_SAFE &&
172 resource.is_subresource, resource.threat_type,
175 if (resource.threat_type != SB_THREAT_TYPE_SAFE) {
188 SBThreatType threat_type,
198 threat_type, post_data));
216 SBThreatType threat_type,
183 ReportSafeBrowsingHit( const GURL& malicious_url, const GURL& page_url, const GURL& referrer_url, bool is_subresource, SBThreatType threat_type, const std::string& post_data) argument
211 ReportSafeBrowsingHitOnIOThread( const GURL& malicious_url, const GURL& page_url, const GURL& referrer_url, bool is_subresource, SBThreatType threat_type, const std::string& post_data) argument
227 << threat_type; local
[all...]
H A Dping_manager.cc66 SBThreatType threat_type,
70 threat_type);
101 SBThreatType threat_type) const {
102 DCHECK(threat_type == SB_THREAT_TYPE_URL_MALWARE ||
103 threat_type == SB_THREAT_TYPE_URL_PHISHING ||
104 threat_type == SB_THREAT_TYPE_BINARY_MALWARE_URL ||
105 threat_type == SB_THREAT_TYPE_CLIENT_SIDE_PHISHING_URL ||
106 threat_type == SB_THREAT_TYPE_CLIENT_SIDE_MALWARE_URL);
110 switch (threat_type) {
61 ReportSafeBrowsingHit( const GURL& malicious_url, const GURL& page_url, const GURL& referrer_url, bool is_subresource, SBThreatType threat_type, const std::string& post_data) argument
H A Dui_manager.h48 SBThreatType threat_type; member in struct:SafeBrowsingUIManager::UnsafeResource
124 SBThreatType threat_type,
145 SBThreatType threat_type,
H A Dping_manager.h39 // to the user. |threat_type| should be one of the types known by
45 SBThreatType threat_type,
70 SBThreatType threat_type) const;
H A Dsafe_browsing_blocking_page.cc170 SBThreatType threat_type = resource.threat_type; local
171 if (threat_type == SB_THREAT_TYPE_URL_MALWARE ||
172 threat_type == SB_THREAT_TYPE_CLIENT_SIDE_MALWARE_URL) {
174 } else if (threat_type == SB_THREAT_TYPE_URL_HARMFUL) {
177 DCHECK(threat_type == SB_THREAT_TYPE_URL_PHISHING ||
178 threat_type == SB_THREAT_TYPE_CLIENT_SIDE_PHISHING_URL);
219 unsafe_resources[0].threat_type == SB_THREAT_TYPE_URL_MALWARE &&
378 DCHECK(unsafe_resources_[element_index].threat_type ==
380 unsafe_resources_[element_index].threat_type
[all...]
H A Ddownload_protection_service.cc165 virtual bool IsDangerous(SBThreatType threat_type) const = 0;
171 void CheckDone(SBThreatType threat_type) { argument
173 IsDangerous(threat_type) ?
180 if (threat_type != SB_THREAT_TYPE_SAFE) {
186 this, threat_type));
190 void ReportMalware(SBThreatType threat_type) { argument
203 threat_type,
249 virtual bool IsDangerous(SBThreatType threat_type) const OVERRIDE {
250 return threat_type == SB_THREAT_TYPE_BINARY_MALWARE_URL;
254 SBThreatType threat_type) OVERRID
255 CheckDone(threat_type); variable
[all...]
H A Dsafe_browsing_blocking_page_test.cc113 void SetURLThreatType(const GURL& url, SBThreatType threat_type) { argument
114 badurls[url.spec()] = threat_type;
394 void SetURLThreatType(const GURL& url, SBThreatType threat_type) { argument
400 service->fake_database_manager()->SetURLThreatType(url, threat_type);
403 // Adds a safebrowsing result of type |threat_type| to the fake safebrowsing
405 GURL SetupWarningAndNavigate(SBThreatType threat_type) { argument
407 SetURLThreatType(url, threat_type);
H A Ddatabase_manager.h104 SBThreatType threat_type,
109 SBThreatType threat_type) {}
103 OnCheckBrowseUrlResult(const GURL& url, SBThreatType threat_type, const std::string& metadata) argument
108 OnCheckDownloadUrlResult(const std::vector<GURL>& url_chain, SBThreatType threat_type) argument
H A Dclient_side_detection_host.cc420 if (resource.threat_type != SB_THREAT_TYPE_URL_PHISHING &&
421 resource.threat_type != SB_THREAT_TYPE_URL_MALWARE)
596 resource.threat_type = SB_THREAT_TYPE_CLIENT_SIDE_PHISHING_URL;
627 resource.threat_type = SB_THREAT_TYPE_CLIENT_SIDE_MALWARE_URL;
H A Dclient_side_detection_host_unittest.cc351 EXPECT_EQ(resource.threat_type, csd_host_->unsafe_resource_->threat_type);
364 resource.threat_type = SB_THREAT_TYPE_URL_MALWARE;
397 resource.threat_type = SB_THREAT_TYPE_URL_MALWARE;
569 EXPECT_EQ(SB_THREAT_TYPE_CLIENT_SIDE_PHISHING_URL, resource.threat_type);
658 EXPECT_EQ(SB_THREAT_TYPE_CLIENT_SIDE_PHISHING_URL, resource.threat_type);
811 EXPECT_EQ(SB_THREAT_TYPE_CLIENT_SIDE_MALWARE_URL, resource.threat_type);
H A Dsafe_browsing_test.cc353 SBThreatType threat_type,
358 threat_type == SB_THREAT_TYPE_SAFE);
H A Dsafe_browsing_service_browsertest.cc366 arg.threat_type != SB_THREAT_TYPE_SAFE);
756 SBThreatType threat_type) OVERRIDE {
757 threat_type_ = threat_type;
H A Dbrowser_feature_extractor.cc294 static_cast<double>(info.unsafe_resource->threat_type),
H A Dsafe_browsing_blocking_page_unittest.cc201 resource->threat_type = SB_THREAT_TYPE_URL_MALWARE;
H A Ddatabase_manager.cc64 const SBThreatType threat_type,
68 threat_type);
63 IsExpectedThreat( const SBThreatType threat_type, const std::vector<SBThreatType>& expected_threats) argument
H A Dbrowser_feature_extractor_unittest.cc580 browse_info_->unsafe_resource->threat_type = SB_THREAT_TYPE_URL_MALWARE;
H A Dmalware_details_unittest.cc229 resource->threat_type = SB_THREAT_TYPE_URL_MALWARE;
H A Ddownload_protection_service_unittest.cc182 ACTION_P(CheckDownloadUrlDone, threat_type) {
191 check->url_results[i] = threat_type;
/external/chromium_org/chrome/browser/ui/webui/interstitials/
H A Dinterstitial_ui.cc92 SBThreatType threat_type = SB_THREAT_TYPE_URL_MALWARE; local
106 threat_type = SB_THREAT_TYPE_URL_MALWARE;
108 threat_type = SB_THREAT_TYPE_URL_PHISHING;
110 threat_type = SB_THREAT_TYPE_CLIENT_SIDE_MALWARE_URL;
112 threat_type = SB_THREAT_TYPE_CLIENT_SIDE_PHISHING_URL;
124 resource.threat_type = threat_type;
/external/chromium_org/chrome/browser/renderer_host/
H A Dsafe_browsing_resource_throttle.cc85 SBThreatType threat_type,
95 threat_type = SB_THREAT_TYPE_SAFE;
99 threat_type_ = threat_type;
102 if (threat_type == SB_THREAT_TYPE_SAFE) {
127 resource.threat_type = threat_type;
83 OnCheckBrowseUrlResult( const GURL& url, SBThreatType threat_type, const std::string& metadata) argument
/external/chromium_org/chrome/browser/prerender/
H A Dprerender_browsertest.cc695 void SetThreatTypeForUrl(const GURL& url, SBThreatType threat_type) { argument
697 threat_type_ = threat_type;

Completed in 436 milliseconds