/external/chromium/chrome/browser/safe_browsing/ |
client_side_detection_service_unittest.cc | 44 csd_service_.reset(); 52 csd_service_->GetModelFile(NewCallback( 72 csd_service_->SendClientReportPhishingRequest( 93 return csd_service_->GetNumReports(); 97 return csd_service_->phishing_report_times_; 101 csd_service_->cache_[gurl] = 107 ClientSideDetectionService::PhishingCache& cache = csd_service_->cache_; 131 csd_service_->UpdateCache(); 142 EXPECT_TRUE(csd_service_->GetValidCachedResult( 145 EXPECT_FALSE(csd_service_->GetValidCachedResult 153 scoped_ptr<ClientSideDetectionService> csd_service_; member in class:safe_browsing::ClientSideDetectionServiceTest [all...] |
client_side_detection_host.cc | 54 csd_service_(csd_service), 59 DCHECK(csd_service_); 94 if (csd_service_->IsPrivateIPAddress(params_.socket_address.host())) { 134 csd_service_ = NULL; 182 if (csd_service_->GetValidCachedResult(params_.url, &is_phishing)) { 194 if (csd_service_->IsInCache(params_.url)) { 198 } else if (csd_service_->OverReportLimit()) { 220 ClientSideDetectionService* csd_service_; member in class:safe_browsing::ClientSideDetectionHost::ShouldClassifyUrlRequest 257 csd_service_(g_browser_process->safe_browsing_detection_service()), 260 // Note: csd_service_ and sb_service_ might be NULL [all...] |
client_side_detection_host.h | 67 ClientSideDetectionService* csd_service_; member in class:safe_browsing::ClientSideDetectionHost
|
client_side_detection_host_unittest.cc | 130 csd_service_.reset(new StrictMock<MockClientSideDetectionService>( 134 csd_host_->set_client_side_detection_service(csd_service_.get()); 172 EXPECT_CALL(*csd_service_, IsPrivateIPAddress(_)) 184 EXPECT_CALL(*csd_service_, GetValidCachedResult(url, NotNull())) 189 EXPECT_CALL(*csd_service_, IsInCache(url)).WillOnce(Return(*is_in_cache)); 192 EXPECT_CALL(*csd_service_, OverReportLimit()) 202 EXPECT_TRUE(Mock::VerifyAndClear(csd_service_.get())); 209 scoped_ptr<StrictMock<MockClientSideDetectionService> > csd_service_; member in class:safe_browsing::ClientSideDetectionHostTest 222 EXPECT_CALL(*csd_service_, SendClientReportPhishingRequest(_, _)).Times(0); 224 EXPECT_TRUE(Mock::VerifyAndClear(csd_service_.get())) [all...] |