| Index: components/offline_pages/core/background/pick_request_task.h
|
| diff --git a/components/offline_pages/core/background/pick_request_task.h b/components/offline_pages/core/background/pick_request_task.h
|
| index ef046124b1e1c5462e5208f25b3400036eb4a67d..d51ce465b3fb1d36f255215ee90193b351123767 100644
|
| --- a/components/offline_pages/core/background/pick_request_task.h
|
| +++ b/components/offline_pages/core/background/pick_request_task.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_PICK_REQUEST_TASK_H_
|
| #define COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_PICK_REQUEST_TASK_H_
|
|
|
| +#include <list>
|
| #include <set>
|
|
|
| #include "base/memory/weak_ptr.h"
|
| @@ -43,7 +44,8 @@ class PickRequestTask : public Task {
|
| RequestNotPickedCallback not_picked_callback,
|
| RequestCountCallback request_count_callback,
|
| DeviceConditions& device_conditions,
|
| - const std::set<int64_t>& disabled_requests);
|
| + const std::set<int64_t>& disabled_requests,
|
| + std::vector<int64_t>& prioritized_requests);
|
|
|
| ~PickRequestTask() override;
|
|
|
| @@ -94,6 +96,7 @@ class PickRequestTask : public Task {
|
| RequestCountCallback request_count_callback_;
|
| std::unique_ptr<DeviceConditions> device_conditions_;
|
| const std::set<int64_t>& disabled_requests_;
|
| + std::vector<int64_t>& prioritized_requests_;
|
| // Allows us to pass a weak pointer to callbacks.
|
| base::WeakPtrFactory<PickRequestTask> weak_ptr_factory_;
|
| };
|
|
|