Index: chrome/browser/safe_browsing/incident_reporting/add_incident_callback.h |
diff --git a/chrome/browser/safe_browsing/incident_reporting/add_incident_callback.h b/chrome/browser/safe_browsing/incident_reporting/add_incident_callback.h |
index 7e0e497710b99b921dca037fbeeae5fa0d105141..f33ace66db260d4e2309a2f61efc1fafa4e444cc 100644 |
--- a/chrome/browser/safe_browsing/incident_reporting/add_incident_callback.h |
+++ b/chrome/browser/safe_browsing/incident_reporting/add_incident_callback.h |
@@ -8,13 +8,17 @@ |
#include "base/callback_forward.h" |
#include "base/memory/scoped_ptr.h" |
+class Profile; |
+ |
namespace safe_browsing { |
class Incident; |
// A callback used by external components to add an incident to the incident |
-// reporting service. |
-typedef base::Callback<void(scoped_ptr<Incident>)> AddIncidentCallback; |
+// reporting service. A Profile* should be provided for incidents related to a |
+// specific profile; use nullptr for Process-wide incidents. |
+typedef base::Callback<void(Profile*, scoped_ptr<Incident>)> |
+ AddIncidentCallback; |
} // namespace safe_browsing |