Index: components/offline_pages/core/background/request_coordinator.cc |
diff --git a/components/offline_pages/core/background/request_coordinator.cc b/components/offline_pages/core/background/request_coordinator.cc |
index 034643e3f22c572c07c161ef3204587239fc2a6d..4128284a719a42631ad1a185f4ce8679c58bc679 100644 |
--- a/components/offline_pages/core/background/request_coordinator.cc |
+++ b/components/offline_pages/core/background/request_coordinator.cc |
@@ -1077,6 +1077,14 @@ const Scheduler::TriggerConditions RequestCoordinator::GetTriggerConditions( |
policy_->UnmeteredNetworkRequired(user_requested)); |
} |
+void RequestCoordinator::ObserveResourceTracking(const ResourceDataType type, |
+ int64_t started_count, |
+ int64_t completed_count) { |
+ if (state_ != RequestCoordinatorState::OFFLINING) |
+ return; |
+ offliner_->ObserveResourceTracking(type, started_count, completed_count); |
+} |
+ |
void RequestCoordinator::AddObserver(Observer* observer) { |
DCHECK(observer); |
observers_.AddObserver(observer); |