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

Unified Diff: net/reporting/reporting_policy.h

Issue 2851603002: Reporting: Cap number of clients 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_delivery_agent.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 98e1a4a5e4ec0481942559b6b668f3875f1aafc0..772bff51f030e475552f90b0c7dcff43b28164bc 100644
--- a/net/reporting/reporting_policy.h
+++ b/net/reporting/reporting_policy.h
@@ -21,6 +21,9 @@ struct NET_EXPORT ReportingPolicy {
// Maximum number of reports to queue before evicting the oldest.
size_t max_report_count;
+ // Maximum number of clients to remember before evicting least-recently-used.
+ size_t max_client_count;
+
// Minimum interval at which to attempt delivery of queued reports.
base::TimeDelta delivery_interval;
« no previous file with comments | « net/reporting/reporting_delivery_agent.cc ('k') | net/reporting/reporting_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698