| Index: components/offline_pages/background/request_picker.h
|
| diff --git a/components/offline_pages/background/request_picker.h b/components/offline_pages/background/request_picker.h
|
| index 0f80dd7b2ed8c9e3df0a6d479a78931d9425efde..d07dd80be6f48594c4323b96b58710e8870c8cab 100644
|
| --- a/components/offline_pages/background/request_picker.h
|
| +++ b/components/offline_pages/background/request_picker.h
|
| @@ -6,6 +6,7 @@
|
| #define COMPONENTS_OFFLINE_PAGES_BACKGROUND_REQUEST_PICKER_H_
|
|
|
| #include <memory>
|
| +#include <set>
|
|
|
| #include "base/memory/weak_ptr.h"
|
| #include "components/offline_pages/background/device_conditions.h"
|
| @@ -35,11 +36,13 @@ class RequestPicker {
|
| void ChooseNextRequest(
|
| RequestCoordinator::RequestPickedCallback picked_callback,
|
| RequestCoordinator::RequestNotPickedCallback not_picked_callback,
|
| - DeviceConditions* device_conditions);
|
| + DeviceConditions* device_conditions,
|
| + const std::set<int64_t>& disabled_requests);
|
|
|
| private:
|
| // Callback for the GetRequest results to be delivered.
|
| void GetRequestResultCallback(
|
| + const std::set<int64_t>& disabled_requests,
|
| RequestQueue::GetRequestsResult result,
|
| std::vector<std::unique_ptr<SavePageRequest>> results);
|
|
|
|
|