Home
last modified time | relevance | path

Searched refs:IncidentReportUploader (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/chrome/browser/safe_browsing/incident_reporting/
Dincident_report_uploader.cc9 IncidentReportUploader::~IncidentReportUploader() { in ~IncidentReportUploader()
12 IncidentReportUploader::IncidentReportUploader(const OnResultCallback& callback) in IncidentReportUploader() function in safe_browsing::IncidentReportUploader
Dincident_report_uploader_impl_unittest.cc22 safe_browsing::IncidentReportUploader::Result result, in OnReportUploadResult()
31 result_(safe_browsing::IncidentReportUploader::UPLOAD_REQUEST_FAILED) {} in IncidentReportUploaderImplTest()
35 safe_browsing::IncidentReportUploader::Result result_;
41 scoped_ptr<safe_browsing::IncidentReportUploader> instance( in TEST_F()
65 EXPECT_EQ(safe_browsing::IncidentReportUploader::UPLOAD_SUCCESS, result_); in TEST_F()
Dincident_report_uploader.h16 class IncidentReportUploader {
37 virtual ~IncidentReportUploader();
40 explicit IncidentReportUploader(const OnResultCallback& callback);
Dincident_report_uploader_impl.cc33 scoped_ptr<IncidentReportUploader> IncidentReportUploaderImpl::UploadReport( in UploadReport()
39 return scoped_ptr<IncidentReportUploader>(); in UploadReport()
40 return scoped_ptr<IncidentReportUploader>(new IncidentReportUploaderImpl( in UploadReport()
48 : IncidentReportUploader(callback), in IncidentReportUploaderImpl()
Dincident_reporting_service_unittest.cc49 typedef base::Callback<scoped_ptr<safe_browsing::IncidentReportUploader>(
50 const safe_browsing::IncidentReportUploader::OnResultCallback&,
89 virtual scoped_ptr<safe_browsing::IncidentReportUploader> StartReportUpload( in StartReportUpload()
90 const safe_browsing::IncidentReportUploader::OnResultCallback& callback, in StartReportUpload()
171 upload_result_(safe_browsing::IncidentReportUploader::UPLOAD_SUCCESS), in IncidentReportingServiceTest()
292 safe_browsing::IncidentReportUploader::Result upload_result_;
304 class FakeUploader : public safe_browsing::IncidentReportUploader {
308 const safe_browsing::IncidentReportUploader::OnResultCallback& callback, in FakeUploader()
309 safe_browsing::IncidentReportUploader::Result result) in FakeUploader()
310 : safe_browsing::IncidentReportUploader(callback), in FakeUploader()
[all …]
Dincident_report_uploader_impl.h31 class IncidentReportUploaderImpl : public IncidentReportUploader,
42 static scoped_ptr<IncidentReportUploader> UploadReport(
Dincident_reporting_service.cc226 scoped_ptr<IncidentReportUploader> uploader;
433 scoped_ptr<IncidentReportUploader> IncidentReportingService::StartReportUpload( in StartReportUpload()
434 const IncidentReportUploader::OnResultCallback& callback, in StartReportUpload()
741 IncidentReportUploader::UPLOAD_NO_DOWNLOAD, in UploadIfCollectionComplete()
742 IncidentReportUploader::NUM_UPLOAD_RESULTS); in UploadIfCollectionComplete()
884 IncidentReportUploader::UPLOAD_CANCELLED, in CancelAllReportUploads()
885 IncidentReportUploader::NUM_UPLOAD_RESULTS); in CancelAllReportUploads()
904 IncidentReportUploader::UPLOAD_INVALID_REQUEST, in OnKillSwitchResult()
909 IncidentReportUploader::UPLOAD_SUPPRESSED, in OnKillSwitchResult()
927 IncidentReportUploader::Result result, in OnReportUploadResult()
[all …]
Dincident_reporting_service.h127 virtual scoped_ptr<IncidentReportUploader> StartReportUpload(
128 const IncidentReportUploader::OnResultCallback& callback,
232 IncidentReportUploader::Result result,