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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_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: 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/variations_seed_signature_analyzer.h
diff --git a/chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_analyzer.h b/chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_analyzer.h
index 9a56a5a42115d49cafaa9a8bbc22c03f76e2afd5..042efe2dd4266a67bad6c87e387e9db7e6eeba2e 100644
--- a/chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_analyzer.h
+++ b/chrome/browser/safe_browsing/incident_reporting/variations_seed_signature_analyzer.h
@@ -5,18 +5,21 @@
#ifndef CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNATURE_ANALYZER_H_
#define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_VARIATIONS_SEED_SIGNATURE_ANALYZER_H_
+#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 verify the variations seed signature.
void RegisterVariationsSeedSignatureAnalysis();
// Callback to pass to the incident reporting service. The incident reporting
// service will verify if the variations seed signature is invalid.
-void VerifyVariationsSeedSignature(const AddIncidentCallback& callback);
+void VerifyVariationsSeedSignature(
+ scoped_ptr<IncidentReceiver> incident_receiver);
} // namespace safe_browsing

Powered by Google App Engine
This is Rietveld 408576698