Index: net/reporting/reporting_context.cc |
diff --git a/net/reporting/reporting_context.cc b/net/reporting/reporting_context.cc |
index 1dd255bcb1b8759b97bfc6a9be75fc2ebcd1d3ce..91a4acb47711b3cdc3282a3c52e05d2b464b2ce8 100644 |
--- a/net/reporting/reporting_context.cc |
+++ b/net/reporting/reporting_context.cc |
@@ -20,6 +20,7 @@ |
#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_network_change_observer.h" |
#include "net/reporting/reporting_observer.h" |
#include "net/reporting/reporting_persister.h" |
#include "net/reporting/reporting_policy.h" |
@@ -97,6 +98,7 @@ ReportingContext::ReportingContext(const ReportingPolicy& policy, |
endpoint_manager_(base::MakeUnique<ReportingEndpointManager>(this)), |
delivery_agent_(base::MakeUnique<ReportingDeliveryAgent>(this)), |
persister_(ReportingPersister::Create(this)), |
- garbage_collector_(ReportingGarbageCollector::Create(this)) {} |
+ garbage_collector_(ReportingGarbageCollector::Create(this)), |
+ network_change_observer_(ReportingNetworkChangeObserver::Create(this)) {} |
} // namespace net |