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

Unified Diff: net/reporting/reporting_policy.h

Issue 2847813002: Reporting: Cap number of reports in cache. (Closed)
Patch Set: Make requested change. 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
« no previous file with comments | « net/reporting/reporting_cache_unittest.cc ('k') | net/reporting/reporting_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/reporting/reporting_policy.h
diff --git a/net/reporting/reporting_policy.h b/net/reporting/reporting_policy.h
index c400bfff452d4f2eb86e3b833d8cee7ea224fac7..98e1a4a5e4ec0481942559b6b668f3875f1aafc0 100644
--- a/net/reporting/reporting_policy.h
+++ b/net/reporting/reporting_policy.h
@@ -18,6 +18,9 @@ struct NET_EXPORT ReportingPolicy {
ReportingPolicy(const ReportingPolicy& other);
~ReportingPolicy();
+ // Maximum number of reports to queue before evicting the oldest.
+ size_t max_report_count;
+
// Minimum interval at which to attempt delivery of queued reports.
base::TimeDelta delivery_interval;
« no previous file with comments | « net/reporting/reporting_cache_unittest.cc ('k') | net/reporting/reporting_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698