Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(375)

Unified Diff: chrome/browser/safe_browsing/incident_reporting_service.h

Issue 348433004: Prune all safe browsing incidents when already reported. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more test cleanups Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/profiles/profile.cc ('k') | chrome/browser/safe_browsing/incident_reporting_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/incident_reporting_service.h
diff --git a/chrome/browser/safe_browsing/incident_reporting_service.h b/chrome/browser/safe_browsing/incident_reporting_service.h
index f3174ed4906ff502f3533a4f3c2baf5d590a646d..39e9fa2ffb4587bd2fc13d8914d9521a21a2bdad 100644
--- a/chrome/browser/safe_browsing/incident_reporting_service.h
+++ b/chrome/browser/safe_browsing/incident_reporting_service.h
@@ -154,12 +154,6 @@ class IncidentReportingService : public content::NotificationObserver {
void CollectDownloadDetails(
ClientIncidentReport_DownloadDetails* download_details);
- // Record the incidents that were reported for future pruning.
- void RecordReportedIncidents();
-
- // Prunes incidents that have previously been reported.
- void PruneReportedIncidents(ClientIncidentReport* report);
-
// Uploads an incident report if all data collection is complete. Incidents
// originating from profiles that do not participate in safe browsing are
// dropped.
@@ -172,8 +166,7 @@ class IncidentReportingService : public content::NotificationObserver {
void OnKillSwitchResult(UploadContext* context, bool is_killswitch_on);
// Performs processing for a report after succesfully receiving a response.
- void HandleResponse(scoped_ptr<ClientIncidentReport> report,
- scoped_ptr<ClientIncidentResponse> response);
+ void HandleResponse(const UploadContext& context);
// IncidentReportUploader::OnResultCallback implementation.
void OnReportUploadResult(UploadContext* context,
« no previous file with comments | « chrome/browser/profiles/profile.cc ('k') | chrome/browser/safe_browsing/incident_reporting_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698