Chromium Code Reviews| Index: chrome/browser/safe_browsing/binary_integrity_analyzer.h |
| diff --git a/chrome/browser/safe_browsing/binary_integrity_analyzer.h b/chrome/browser/safe_browsing/binary_integrity_analyzer.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..19d2cd8ac3459b986c358c41a5635f35230ab3d0 |
| --- /dev/null |
| +++ b/chrome/browser/safe_browsing/binary_integrity_analyzer.h |
| @@ -0,0 +1,33 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// 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_BINARY_INTEGRITY_ANALYZER_H_ |
| +#define CHROME_BROWSER_SAFE_BROWSING_BINARY_INTEGRITY_ANALYZER_H_ |
| + |
| +#include <vector> |
| + |
| +#include "base/strings/string16.h" |
|
grt (UTC plus 2)
2014/08/08 02:23:05
unused
pmonette_google.com
2014/08/08 15:05:42
Removed.
|
| +#include "chrome/browser/safe_browsing/add_incident_callback.h" |
| + |
| +namespace base { |
| +class FilePath; |
| +} // namespace base |
| + |
| +namespace safe_browsing { |
| + |
| +// 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(const AddIncidentCallback& callback); |
| + |
| +// 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_BINARY_INTEGRITY_ANALYZER_H_ |