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

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

Issue 891793002: Take a Profile when adding an incident to the incident reporting service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: OnMainThread 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/delayed_analysis_callback.h
diff --git a/chrome/browser/safe_browsing/incident_reporting/delayed_analysis_callback.h b/chrome/browser/safe_browsing/incident_reporting/delayed_analysis_callback.h
index a5bf108cf0d19d96a77b8bd16d302a91ed6895c3..78404025760ec4959a28bfa8e1e0f9f4d6573499 100644
--- a/chrome/browser/safe_browsing/incident_reporting/delayed_analysis_callback.h
+++ b/chrome/browser/safe_browsing/incident_reporting/delayed_analysis_callback.h
@@ -6,15 +6,17 @@
#define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_DELAYED_ANALYSIS_CALLBACK_H_
#include "base/callback_forward.h"
-#include "chrome/browser/safe_browsing/incident_reporting/add_incident_callback.h"
+#include "base/memory/scoped_ptr.h"
namespace safe_browsing {
+class IncidentReceiver;
+
// A callback used by external components to register a process-wide analysis
// step. The callback will be run after some delay following process launch in
-// the blocking pool. The argument is a callback by which the consumer can add
+// the blocking pool. The argument is a receiver by which the consumer can add
// incidents to the incident reporting service.
-typedef base::Callback<void(const AddIncidentCallback&)>
+typedef base::Callback<void(scoped_ptr<IncidentReceiver>)>
DelayedAnalysisCallback;
} // namespace safe_browsing

Powered by Google App Engine
This is Rietveld 408576698