Home
last modified time | relevance | path

Searched refs:ClientSideDetectionService (Results 1 – 9 of 9) sorted by relevance

/external/chromium/chrome/browser/safe_browsing/
Dclient_side_detection_service.cc29 const int ClientSideDetectionService::kMaxReportsPerInterval = 3;
31 const base::TimeDelta ClientSideDetectionService::kReportsInterval =
33 const base::TimeDelta ClientSideDetectionService::kNegativeCacheInterval =
35 const base::TimeDelta ClientSideDetectionService::kPositiveCacheInterval =
38 const char ClientSideDetectionService::kClientReportPhishingUrl[] =
46 const char ClientSideDetectionService::kClientModelUrl[] =
49 struct ClientSideDetectionService::ClientReportInfo {
54 ClientSideDetectionService::CacheState::CacheState(bool phish, base::Time time) in CacheState()
58 ClientSideDetectionService::ClientSideDetectionService( in ClientSideDetectionService() function in safe_browsing::ClientSideDetectionService
68 ClientSideDetectionService::~ClientSideDetectionService() { in ~ClientSideDetectionService()
[all …]
Dclient_side_detection_service_unittest.cc81 factory_->SetFakeResponse(ClientSideDetectionService::kClientModelUrl, in SetModelFetchResponse()
88 ClientSideDetectionService::kClientReportPhishingUrl, in SetClientReportPhishingResponse()
102 make_linked_ptr(new ClientSideDetectionService::CacheState(is_phishing, in SetCache()
107 ClientSideDetectionService::PhishingCache& cache = csd_service_->cache_; in TestCache()
109 base::Time time = now - ClientSideDetectionService::kNegativeCacheInterval + in TestCache()
112 make_linked_ptr(new ClientSideDetectionService::CacheState(false, in TestCache()
115 time = now - ClientSideDetectionService::kNegativeCacheInterval - in TestCache()
118 make_linked_ptr(new ClientSideDetectionService::CacheState(false, in TestCache()
121 time = now - ClientSideDetectionService::kPositiveCacheInterval - in TestCache()
124 make_linked_ptr(new ClientSideDetectionService::CacheState(true, time)); in TestCache()
[all …]
Dclient_side_detection_service.h48 class ClientSideDetectionService : public URLFetcher::Delegate {
55 virtual ~ClientSideDetectionService();
60 static ClientSideDetectionService* Create(
114 ClientSideDetectionService(
245 ScopedRunnableMethodFactory<ClientSideDetectionService> method_factory_;
251 base::ScopedCallbackFactory<ClientSideDetectionService> callback_factory_;
259 DISALLOW_COPY_AND_ASSIGN(ClientSideDetectionService);
Dclient_side_detection_host.h21 class ClientSideDetectionService; variable
60 void set_client_side_detection_service(ClientSideDetectionService* service);
67 ClientSideDetectionService* csd_service_;
Dclient_side_detection_host_unittest.cc51 class MockClientSideDetectionService : public ClientSideDetectionService {
54 : ClientSideDetectionService(model_path, NULL) {} in MockClientSideDetectionService()
230 ClientSideDetectionService::ClientReportPhishingRequestCallback* cb; in TEST_F()
261 ClientSideDetectionService::ClientReportPhishingRequestCallback* cb; in TEST_F()
287 ClientSideDetectionService::ClientReportPhishingRequestCallback* cb; in TEST_F()
343 ClientSideDetectionService::ClientReportPhishingRequestCallback* cb; in TEST_F()
367 ClientSideDetectionService::ClientReportPhishingRequestCallback* cb_other; in TEST_F()
Dclient_side_detection_host.cc48 ClientSideDetectionService* csd_service, in ShouldClassifyUrlRequest()
220 ClientSideDetectionService* csd_service_;
381 ClientSideDetectionService* service) { in set_client_side_detection_service()
/external/chromium/chrome/browser/
Dbrowser_process.h24 class ClientSideDetectionService; variable
194 virtual safe_browsing::ClientSideDetectionService*
Dbrowser_process_impl.h95 virtual safe_browsing::ClientSideDetectionService*
231 scoped_ptr<safe_browsing::ClientSideDetectionService>
Dbrowser_process_impl.cc604 safe_browsing::ClientSideDetectionService*
947 safe_browsing::ClientSideDetectionService::Create( in CreateSafeBrowsingDetectionService()