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..b6cad2cce1868ec3bb3e778a8070d295ffaa1d63 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 <deque> |
#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::deque<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::deque<int64_t>& prioritized_requests_; |
// Allows us to pass a weak pointer to callbacks. |
base::WeakPtrFactory<PickRequestTask> weak_ptr_factory_; |
}; |