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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.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.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.cc b/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.cc
index 769289271bf53d50b8ae0d58a201df6c3b8580ee..e4a58ca95f2ec1f690702ae6f6e2f78154b59ecf 100644
--- a/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer.cc
@@ -78,8 +78,8 @@ void VerifyBinaryIntegrity(const AddIncidentCallback& callback) {
incident->set_allocated_signature(signature_info.release());
// Send the report.
- callback.Run(make_scoped_ptr(
- new BinaryIntegrityIncident(incident.Pass())));
+ callback.Run(nullptr, make_scoped_ptr(
+ new BinaryIntegrityIncident(incident.Pass())));
robertshield 2015/01/30 21:04:52 What do you think about having two types of callba
grt (UTC plus 2) 2015/01/30 21:16:29 Yeah, I thought about that. I wonder if an interfa
}
}
}

Powered by Google App Engine
This is Rietveld 408576698