| 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 0f98f1f21d2346354b4e1d88e61cb4c8cd164b02..a43784feb815f38bb596b9e04b3146facc84f698 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_;
|
| @@ -301,6 +304,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_;
|
|
|