HomeSort by relevance Sort by last modified time
    Searched defs:csd_service_ (Results 1 - 9 of 9) sorted by null

  /external/chromium/chrome/browser/safe_browsing/
client_side_detection_host.h 67 ClientSideDetectionService* csd_service_; member in class:safe_browsing::ClientSideDetectionHost
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_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...]
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...]
  /external/chromium_org/chrome/browser/safe_browsing/
client_side_detection_host.h 110 ClientSideDetectionService* csd_service_; member in class:safe_browsing::ClientSideDetectionHost
safe_browsing_service.h 86 return csd_service_.get();
198 scoped_ptr<safe_browsing::ClientSideDetectionService> csd_service_; member in class:SafeBrowsingService
client_side_detection_host.cc 77 csd_service_(csd_service),
82 DCHECK(csd_service_);
105 if (csd_service_->IsPrivateIPAddress(params_.socket_address.host())) {
144 csd_service_ = NULL;
198 if (csd_service_->GetValidCachedResult(params_.url, &is_phishing)) {
210 if (csd_service_->IsInCache(params_.url)) {
214 } else if (csd_service_->OverPhishingReportLimit()) {
238 ClientSideDetectionService* csd_service_; member in class:safe_browsing::ClientSideDetectionHost::ShouldClassifyUrlRequest
255 csd_service_(NULL),
261 // Note: csd_service_ and sb_service will be NULL here in testing
    [all...]
client_side_detection_host_unittest.cc 186 csd_service_.reset(new StrictMock<MockClientSideDetectionService>());
195 csd_host_->set_client_side_detection_service(csd_service_.get());
246 EXPECT_CALL(*csd_service_, IsPrivateIPAddress(_))
258 EXPECT_CALL(*csd_service_, GetValidCachedResult(url, NotNull()))
263 EXPECT_CALL(*csd_service_, IsInCache(url)).WillOnce(Return(*is_in_cache));
266 EXPECT_CALL(*csd_service_, OverPhishingReportLimit())
274 EXPECT_TRUE(Mock::VerifyAndClear(csd_service_.get()));
318 scoped_ptr<StrictMock<MockClientSideDetectionService> > csd_service_; member in class:safe_browsing::ClientSideDetectionHostTest
330 csd_service_.get());
342 csd_service_.get())
    [all...]
client_side_detection_service_unittest.cc 76 csd_service_.reset();
87 csd_service_->SendClientReportPhishingRequest(
99 csd_service_->SendClientReportMalwareRequest(
130 return csd_service_->GetNumReports(report_times);
134 return csd_service_->phishing_report_times_;
138 return csd_service_->malware_report_times_;
142 csd_service_->cache_[gurl] =
148 ClientSideDetectionService::PhishingCache& cache = csd_service_->cache_;
180 csd_service_->UpdateCache();
191 EXPECT_TRUE(csd_service_->GetValidCachedResult
217 scoped_ptr<ClientSideDetectionService> csd_service_; member in class:safe_browsing::ClientSideDetectionServiceTest
    [all...]

Completed in 293 milliseconds