Home
last modified time | relevance | path

Searched refs:unsafe_resource (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_blocking_page.cc630 const UnsafeResource& unsafe_resource) { in CreateBlockingPage() argument
632 resources.push_back(unsafe_resource); in CreateBlockingPage()
643 const UnsafeResource& unsafe_resource) { in ShowBlockingPage() argument
644 DVLOG(1) << __FUNCTION__ << " " << unsafe_resource.url.spec(); in ShowBlockingPage()
646 unsafe_resource.render_process_host_id, unsafe_resource.render_view_id); in ShowBlockingPage()
650 if (interstitial && !unsafe_resource.is_subresource) { in ShowBlockingPage()
662 CreateBlockingPage(ui_manager, web_contents, unsafe_resource); in ShowBlockingPage()
669 (*unsafe_resource_map)[web_contents].push_back(unsafe_resource); in ShowBlockingPage()
Dbrowser_feature_extractor.cc280 if (info.unsafe_resource.get()) { in ExtractBrowseInfoFeatures()
283 info.unsafe_resource->url.spec(), in ExtractBrowseInfoFeatures()
287 info.unsafe_resource->original_url.spec(), in ExtractBrowseInfoFeatures()
291 info.unsafe_resource->is_subresource ? 1.0 : 0.0, in ExtractBrowseInfoFeatures()
294 static_cast<double>(info.unsafe_resource->threat_type), in ExtractBrowseInfoFeatures()
Dbrowser_feature_extractor_unittest.cc575 browse_info_->unsafe_resource.reset( in TEST_F()
577 browse_info_->unsafe_resource->url = GURL("http://www.malware.com/"); in TEST_F()
578 browse_info_->unsafe_resource->original_url = GURL("http://www.good.com/"); in TEST_F()
579 browse_info_->unsafe_resource->is_subresource = true; in TEST_F()
580 browse_info_->unsafe_resource->threat_type = SB_THREAT_TYPE_URL_MALWARE; in TEST_F()
Dsafe_browsing_blocking_page_test.cc237 const SafeBrowsingUIManager::UnsafeResource& unsafe_resource) in FakeMalwareDetails() argument
238 : MalwareDetails(delegate, web_contents, unsafe_resource), in FakeMalwareDetails()
289 const SafeBrowsingUIManager::UnsafeResource& unsafe_resource) OVERRIDE { in CreateMalwareDetails() argument
291 unsafe_resource); in CreateMalwareDetails()
Dmalware_details.cc41 const SafeBrowsingUIManager::UnsafeResource& unsafe_resource) OVERRIDE { in CreateMalwareDetails() argument
42 return new MalwareDetails(ui_manager, web_contents, unsafe_resource); in CreateMalwareDetails()
Dmalware_details.h162 const SafeBrowsingUIManager::UnsafeResource& unsafe_resource) = 0;
Dbrowser_feature_extractor.h69 scoped_ptr<SafeBrowsingUIManager::UnsafeResource> unsafe_resource; member
Dsafe_browsing_blocking_page.h75 const UnsafeResource& unsafe_resource);
Dmalware_details_unittest.cc131 const SafeBrowsingUIManager::UnsafeResource& unsafe_resource, in MalwareDetailsWrap() argument
133 : MalwareDetails(ui_manager, web_contents, unsafe_resource) { in MalwareDetailsWrap()
Dclient_side_detection_host.cc571 browse_info_->unsafe_resource.reset(unsafe_resource_.release()); in OnPhishingDetectionDone()