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

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

Issue 1643573002: Add a ModuleLoadAnalyzer which checks modules against a whitelist (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase-update'd Created 4 years, 10 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/incident.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/incident.cc b/chrome/browser/safe_browsing/incident_reporting/incident.cc
index 3e7a79780af2c6ca34e0216c7c751bc0049dbdb8..ed3fea15d72022b7a499a307bbc493a567cd1166 100644
--- a/chrome/browser/safe_browsing/incident_reporting/incident.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/incident.cc
@@ -19,6 +19,10 @@ scoped_ptr<ClientIncidentReport_IncidentData> Incident::TakePayload() {
return std::move(payload_);
}
+MinimumProfileConsent Incident::GetMinimumProfileConsent() const {
+ return MinimumProfileConsent::SAFE_BROWSING_ENABLED;
+}
+
Incident::Incident() : payload_(new ClientIncidentReport_IncidentData) {
payload_->set_incident_time_msec(base::Time::Now().ToJavaTime());
}

Powered by Google App Engine
This is Rietveld 408576698