| Index: components/offline_pages/background/request_coordinator.h
|
| diff --git a/components/offline_pages/background/request_coordinator.h b/components/offline_pages/background/request_coordinator.h
|
| index 830d605e57819174e291103bb0f83ca8b3704ba9..8d79576f800e868ca173c66f7a25a88c1f3e0476 100644
|
| --- a/components/offline_pages/background/request_coordinator.h
|
| +++ b/components/offline_pages/background/request_coordinator.h
|
| @@ -33,6 +33,7 @@ class Offliner;
|
| class RequestPicker;
|
| class SavePageRequest;
|
| class Scheduler;
|
| +class ClientPolicyController;
|
|
|
| // Coordinates queueing and processing save page later requests.
|
| class RequestCoordinator : public KeyedService,
|
| @@ -142,6 +143,8 @@ class RequestCoordinator : public KeyedService,
|
|
|
| OfflinerPolicy* policy() { return policy_.get(); }
|
|
|
| + ClientPolicyController* GetPolicyController();
|
| +
|
| // Returns the status of the most recent offlining.
|
| Offliner::RequestStatus last_offlining_status() {
|
| return last_offlining_status_;
|
| @@ -298,6 +301,8 @@ class RequestCoordinator : public KeyedService,
|
| std::unique_ptr<RequestQueue> queue_;
|
| // Scheduler. Used to request a callback when network is available. Owned.
|
| std::unique_ptr<Scheduler> scheduler_;
|
| + // Controller of client policies. Owned.
|
| + std::unique_ptr<ClientPolicyController> policy_controller_;
|
| // Unowned pointer to the Network Quality Estimator.
|
| net::NetworkQualityEstimator::NetworkQualityProvider*
|
| network_quality_estimator_;
|
|
|