Index: chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win.h |
diff --git a/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.h b/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win.h |
similarity index 50% |
copy from chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.h |
copy to chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win.h |
index 6ac4532aaae29578ce7cdc784a9de7e37fb7c0b9..6405ead7c6a3f5530bfa1e5ec61cee0affe8b6cc 100644 |
--- a/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.h |
+++ b/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win.h |
@@ -2,12 +2,12 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_BINARY_INTEGRITY_ANALYZER_H_ |
-#define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_BINARY_INTEGRITY_ANALYZER_H_ |
+#ifndef CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_BINARY_INTEGRITY_ANALYZER_WIN_H_ |
+#define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_BINARY_INTEGRITY_ANALYZER_WIN_H_ |
-#include <vector> |
+#include "chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.h" |
-#include "base/memory/scoped_ptr.h" |
+#include <vector> |
namespace base { |
class FilePath; |
@@ -15,20 +15,9 @@ 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. |
-void RegisterBinaryIntegrityAnalysis(); |
- |
-// Callback to pass to the incident reporting service. The incident reporting |
-// service will decide when to start the analysis. |
-void VerifyBinaryIntegrity(scoped_ptr<IncidentReceiver> incident_receiver); |
- |
// Returns a vector containing the paths to all the binaries to verify. |
std::vector<base::FilePath> GetCriticalBinariesPath(); |
} // namespace safe_browsing |
-#endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_BINARY_INTEGRITY_ANALYZER_H_ |
+#endif // CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_BINARY_INTEGRITY_ANALYZER_WIN_H_ |