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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyzer.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: this time 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/blacklist_load_analyzer.h
diff --git a/chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyzer.h b/chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyzer.h
index 8c5d13f46c5fc46bf24071aaec93ab29f608ee23..d3c2cc06ada99674e07257aed0c32852d2112e06 100644
--- a/chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyzer.h
+++ b/chrome/browser/safe_browsing/incident_reporting/blacklist_load_analyzer.h
@@ -7,11 +7,13 @@
#include <vector>
+#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
-#include "chrome/browser/safe_browsing/incident_reporting/add_incident_callback.h"
namespace safe_browsing {
+class IncidentReceiver;
+
// Registers a process-wide analysis with the incident reporting service that
// will examine how effective the blacklist was.
void RegisterBlacklistLoadAnalysis();
@@ -22,7 +24,7 @@ bool GetLoadedBlacklistedModules(std::vector<base::string16>* module_names);
// Callback to pass to the incident reporting service. The incident reporting
// service will decide when to start the analysis.
-void VerifyBlacklistLoadState(const AddIncidentCallback& callback);
+void VerifyBlacklistLoadState(scoped_ptr<IncidentReceiver> incident_receiver);
} // namespace safe_browsing

Powered by Google App Engine
This is Rietveld 408576698