| Index: chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.h
|
| diff --git a/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.h b/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.h
|
| index 1b37533e63f66a803f5d30336486662569dc104d..6ac4532aaae29578ce7cdc784a9de7e37fb7c0b9 100644
|
| --- a/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.h
|
| +++ b/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.h
|
| @@ -7,7 +7,7 @@
|
|
|
| #include <vector>
|
|
|
| -#include "chrome/browser/safe_browsing/incident_reporting/add_incident_callback.h"
|
| +#include "base/memory/scoped_ptr.h"
|
|
|
| namespace base {
|
| class FilePath;
|
| @@ -15,6 +15,8 @@ class FilePath;
|
|
|
| namespace safe_browsing {
|
|
|
| +class IncidentReceiver;
|
| +
|
| // Registers a process-wide analysis with the incident reporting service that
|
| // will verify the signature of the most critical binaries used by Chrome. It
|
| // will send an incident report every time a signature verification fails.
|
| @@ -22,7 +24,7 @@ void RegisterBinaryIntegrityAnalysis();
|
|
|
| // Callback to pass to the incident reporting service. The incident reporting
|
| // service will decide when to start the analysis.
|
| -void VerifyBinaryIntegrity(const AddIncidentCallback& callback);
|
| +void VerifyBinaryIntegrity(scoped_ptr<IncidentReceiver> incident_receiver);
|
|
|
| // Returns a vector containing the paths to all the binaries to verify.
|
| std::vector<base::FilePath> GetCriticalBinariesPath();
|
|
|