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

Unified Diff: net/reporting/reporting_browsing_data_remover.cc

Issue 2900553004: Reporting: Add histograms. (Closed)
Patch Set: oops, forgot about dependency Created 3 years, 7 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: net/reporting/reporting_browsing_data_remover.cc
diff --git a/net/reporting/reporting_browsing_data_remover.cc b/net/reporting/reporting_browsing_data_remover.cc
index a10bcf86b3ece121621b0d561116387fd16dca93..b093cf1c1f888196c464501a49923cf94da22634 100644
--- a/net/reporting/reporting_browsing_data_remover.cc
+++ b/net/reporting/reporting_browsing_data_remover.cc
@@ -34,7 +34,8 @@ class ReportingBrowsingDataRemoverImpl : public ReportingBrowsingDataRemover {
if (origin_filter.is_null()) {
if (remove_reports)
- cache->RemoveAllReports();
+ cache->RemoveAllReports(
+ ReportingReport::Outcome::ERASED_BROWSING_DATA_REMOVED);
if (remove_clients)
cache->RemoveAllClients();
return;
@@ -50,7 +51,9 @@ class ReportingBrowsingDataRemoverImpl : public ReportingBrowsingDataRemover {
reports_to_remove.push_back(report);
}
- cache->RemoveReports(reports_to_remove);
+ cache->RemoveReports(
+ reports_to_remove,
+ ReportingReport::Outcome::ERASED_BROWSING_DATA_REMOVED);
}
if (remove_clients) {

Powered by Google App Engine
This is Rietveld 408576698