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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win.h

Issue 1363613004: Implement anonymous, opt-in, collection of OS X binary integrity incidents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ran git cl format Created 5 years, 1 month 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/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_

Powered by Google App Engine
This is Rietveld 408576698