| Index: net/reporting/reporting_context.h
|
| diff --git a/net/reporting/reporting_context.h b/net/reporting/reporting_context.h
|
| index 02425615039dd282419b9ebebc718df6c4592111..c4360ea51e06801a30563788bd69ce958010229b 100644
|
| --- a/net/reporting/reporting_context.h
|
| +++ b/net/reporting/reporting_context.h
|
| @@ -24,6 +24,7 @@ class ReportingCache;
|
| class ReportingDelegate;
|
| class ReportingDeliveryAgent;
|
| class ReportingEndpointManager;
|
| +class ReportingGarbageCollector;
|
| class ReportingObserver;
|
| class ReportingUploader;
|
| class URLRequestContext;
|
| @@ -51,6 +52,9 @@ class NET_EXPORT ReportingContext {
|
| return endpoint_manager_.get();
|
| }
|
| ReportingDeliveryAgent* delivery_agent() { return delivery_agent_.get(); }
|
| + ReportingGarbageCollector* garbage_collector() {
|
| + return garbage_collector_.get();
|
| + }
|
|
|
| void AddObserver(ReportingObserver* observer);
|
| void RemoveObserver(ReportingObserver* observer);
|
| @@ -83,6 +87,9 @@ class NET_EXPORT ReportingContext {
|
| // and |endpoint_manager_|.
|
| std::unique_ptr<ReportingDeliveryAgent> delivery_agent_;
|
|
|
| + // |garbage_collector_| must come after |tick_clock_| and |cache_|.
|
| + std::unique_ptr<ReportingGarbageCollector> garbage_collector_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ReportingContext);
|
| };
|
|
|
|
|