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

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

Issue 856543004: Replace incident type handlers with implementations of Incident. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: robertshield comments Created 5 years, 11 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
Index: chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.h
diff --git a/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.h b/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.h
index b824b36e10274a8ac2990746a325665aa18e5325..1fac481b235621ffb0d58638d0bbe122f543729f 100644
--- a/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.h
+++ b/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.h
@@ -163,8 +163,7 @@ class IncidentReportingService : public content::NotificationObserver {
// Adds |incident_data| to the service. The incident_time_msec field is
// populated with the current time if the caller has not already done so.
- void AddIncident(Profile* profile,
- scoped_ptr<ClientIncidentReport_IncidentData> incident_data);
+ void AddIncident(Profile* profile, scoped_ptr<Incident> incident);
// Begins processing a report. If processing is already underway, ensures that
// collection tasks have completed or are running.

Powered by Google App Engine
This is Rietveld 408576698