Searched refs:ClientSideDetectionService (Results 1 – 15 of 15) sorted by relevance
67 const size_t ClientSideDetectionService::kMaxModelSizeBytes = 90 * 1024;68 const int ClientSideDetectionService::kMaxReportsPerInterval = 3;71 const int ClientSideDetectionService::kClientModelFetchIntervalMs = 3600 * 1000;72 const int ClientSideDetectionService::kInitialClientModelFetchDelayMs = 10000;74 const int ClientSideDetectionService::kReportsIntervalDays = 1;75 const int ClientSideDetectionService::kNegativeCacheIntervalDays = 1;76 const int ClientSideDetectionService::kPositiveCacheIntervalMinutes = 30;78 const char ClientSideDetectionService::kClientReportPhishingUrl[] =80 const char ClientSideDetectionService::kClientReportMalwareUrl[] =82 const char ClientSideDetectionService::kClientModelUrl[] =[all …]
35 class MockClientSideDetectionService : public ClientSideDetectionService {37 MockClientSideDetectionService() : ClientSideDetectionService(NULL) {} in MockClientSideDetectionService()112 factory_->SetFakeResponse(GURL(ClientSideDetectionService::kClientModelUrl), in SetModelFetchResponse()120 ClientSideDetectionService::GetClientReportUrl( in SetClientReportPhishingResponse()121 ClientSideDetectionService::kClientReportPhishingUrl), in SetClientReportPhishingResponse()129 ClientSideDetectionService::GetClientReportUrl( in SetClientReportMalwareResponse()130 ClientSideDetectionService::kClientReportMalwareUrl), in SetClientReportMalwareResponse()148 make_linked_ptr(new ClientSideDetectionService::CacheState(is_phishing, in SetCache()153 ClientSideDetectionService::PhishingCache& cache = csd_service_->cache_; in TestCache()157 ClientSideDetectionService::kNegativeCacheIntervalDays) + in TestCache()[all …]
60 class ClientSideDetectionService : public net::URLFetcherDelegate,69 virtual ~ClientSideDetectionService();74 static ClientSideDetectionService* Create(142 explicit ClientSideDetectionService(321 base::WeakPtrFactory<ClientSideDetectionService> weak_factory_;332 DISALLOW_COPY_AND_ASSIGN(ClientSideDetectionService);
24 class ClientSideDetectionService; variable140 void set_client_side_detection_service(ClientSideDetectionService* service);143 ClientSideDetectionService* csd_service_;
47 class ClientSideDetectionService; variable97 safe_browsing::ClientSideDetectionService*222 scoped_ptr<safe_browsing::ClientSideDetectionService> csd_service_;
70 ClientSideDetectionService* csd_service, in ShouldClassifyUrlRequest()300 ClientSideDetectionService* csd_service_;650 ClientSideDetectionService::ClientReportPhishingRequestCallback callback; in FeatureExtractionDone()673 ClientSideDetectionService::ClientReportMalwareRequestCallback callback; in MalwareFeatureExtractionDone()729 ClientSideDetectionService* service) { in set_client_side_detection_service()
111 class MockClientSideDetectionService : public ClientSideDetectionService {113 MockClientSideDetectionService() : ClientSideDetectionService(NULL) {} in MockClientSideDetectionService()478 ClientSideDetectionService::ClientReportPhishingRequestCallback cb; in TEST_F()511 ClientSideDetectionService::ClientReportPhishingRequestCallback cb; in TEST_F()544 ClientSideDetectionService::ClientReportPhishingRequestCallback cb; in TEST_F()599 ClientSideDetectionService::ClientReportPhishingRequestCallback cb; in TEST_F()631 ClientSideDetectionService::ClientReportPhishingRequestCallback cb_other; in TEST_F()794 ClientSideDetectionService::ClientReportMalwareRequestCallback cb; in TEST_F()
455 safe_browsing::ClientSideDetectionService* csd_service = in CreateCSDService()456 safe_browsing::ClientSideDetectionService::Create(NULL); in CreateCSDService()748 safe_browsing::ClientSideDetectionService* csd_service = in IN_PROC_BROWSER_TEST_F()834 safe_browsing::ClientSideDetectionService* csd_service = in IN_PROC_BROWSER_TEST_F()
40 class ClientSideDetectionService; variable
229 csd_service_.reset(safe_browsing::ClientSideDetectionService::Create( in Initialize()
94 class ClientSideDetectionService; variable202 virtual safe_browsing::ClientSideDetectionService*
121 virtual safe_browsing::ClientSideDetectionService*
751 safe_browsing::ClientSideDetectionService*
81 virtual safe_browsing::ClientSideDetectionService*
210 safe_browsing::ClientSideDetectionService*