Index: net/reporting/reporting_context.cc |
diff --git a/net/reporting/reporting_context.cc b/net/reporting/reporting_context.cc |
index cc50dc7aef2456a6f7725b8141790ae38724c2fd..c16604618f79b3fedeeacaf554d166fe2e4d7f7e 100644 |
--- a/net/reporting/reporting_context.cc |
+++ b/net/reporting/reporting_context.cc |
@@ -13,11 +13,13 @@ |
#include "base/time/default_tick_clock.h" |
#include "base/time/tick_clock.h" |
#include "base/time/time.h" |
+#include "base/timer/timer.h" |
#include "net/base/backoff_entry.h" |
#include "net/reporting/reporting_cache.h" |
#include "net/reporting/reporting_delegate.h" |
#include "net/reporting/reporting_delivery_agent.h" |
#include "net/reporting/reporting_endpoint_manager.h" |
+#include "net/reporting/reporting_garbage_collector.h" |
#include "net/reporting/reporting_observer.h" |
#include "net/reporting/reporting_policy.h" |
@@ -79,6 +81,7 @@ ReportingContext::ReportingContext(const ReportingPolicy& policy, |
uploader_(std::move(uploader)), |
cache_(base::MakeUnique<ReportingCache>(this)), |
endpoint_manager_(base::MakeUnique<ReportingEndpointManager>(this)), |
- delivery_agent_(base::MakeUnique<ReportingDeliveryAgent>(this)) {} |
+ delivery_agent_(base::MakeUnique<ReportingDeliveryAgent>(this)), |
+ garbage_collector_(ReportingGarbageCollector::Create(this)) {} |
} // namespace net |