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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win_unittest.cc

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: comment and formatting 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/binary_integrity_analyzer_win_unittest.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win_unittest.cc
index 255117d31fb84361c22369f93fb0f189ca730098..2a901e4836456aba6c8678497d328c2c85138d3c 100644
--- a/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win_unittest.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win_unittest.cc
@@ -45,7 +45,7 @@ class BinaryIntegrityAnalyzerWinTest : public ::testing::Test {
public:
BinaryIntegrityAnalyzerWinTest();
- void OnAddIncident(scoped_ptr<Incident> incident);
+ void OnAddIncident(Profile* profile, scoped_ptr<Incident> incident);
protected:
bool callback_called_;
@@ -72,6 +72,7 @@ BinaryIntegrityAnalyzerWinTest::BinaryIntegrityAnalyzerWinTest()
// Mock the AddIncidentCallback so we can test that VerifyBinaryIntegrity
// adds an incident callback when a signature verification fails.
void BinaryIntegrityAnalyzerWinTest::OnAddIncident(
+ Profile* profile,
scoped_ptr<Incident> incident) {
callback_called_ = true;

Powered by Google App Engine
This is Rietveld 408576698