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(330 base::WeakPtrFactory<ClientSideDetectionService> weak_factory_;332 DISALLOW_COPY_AND_ASSIGN(ClientSideDetectionService);
24 class ClientSideDetectionService; variable141 void set_client_side_detection_service(ClientSideDetectionService* service);144 ClientSideDetectionService* csd_service_;
48 class ClientSideDetectionService; variable98 safe_browsing::ClientSideDetectionService*233 scoped_ptr<safe_browsing::ClientSideDetectionService> csd_service_;
71 ClientSideDetectionService* csd_service, in ShouldClassifyUrlRequest()301 ClientSideDetectionService* csd_service_;651 ClientSideDetectionService::ClientReportPhishingRequestCallback callback; in FeatureExtractionDone()674 ClientSideDetectionService::ClientReportMalwareRequestCallback callback; in MalwareFeatureExtractionDone()729 ClientSideDetectionService* service) { in set_client_side_detection_service()
110 class MockClientSideDetectionService : public ClientSideDetectionService {112 MockClientSideDetectionService() : ClientSideDetectionService(NULL) {} in MockClientSideDetectionService()477 ClientSideDetectionService::ClientReportPhishingRequestCallback cb; in TEST_F()509 ClientSideDetectionService::ClientReportPhishingRequestCallback cb; in TEST_F()541 ClientSideDetectionService::ClientReportPhishingRequestCallback cb; in TEST_F()595 ClientSideDetectionService::ClientReportPhishingRequestCallback cb; in TEST_F()626 ClientSideDetectionService::ClientReportPhishingRequestCallback cb_other; in TEST_F()789 ClientSideDetectionService::ClientReportMalwareRequestCallback cb; in TEST_F()
459 safe_browsing::ClientSideDetectionService* csd_service = in CreateCSDService()460 safe_browsing::ClientSideDetectionService::Create(NULL); in CreateCSDService()863 safe_browsing::ClientSideDetectionService* csd_service = in IN_PROC_BROWSER_TEST_F()949 safe_browsing::ClientSideDetectionService* csd_service = in IN_PROC_BROWSER_TEST_F()
40 class ClientSideDetectionService; variable
232 csd_service_.reset(safe_browsing::ClientSideDetectionService::Create( in Initialize()
97 class ClientSideDetectionService; variable205 virtual safe_browsing::ClientSideDetectionService*
121 virtual safe_browsing::ClientSideDetectionService*
862 safe_browsing::ClientSideDetectionService*
81 virtual safe_browsing::ClientSideDetectionService*
212 safe_browsing::ClientSideDetectionService*