Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Unified Diff: components/offline_pages/core/background/request_queue.h

Issue 2729763002: [Offline Pages] Pick correct request when resuming. (Closed)
Patch Set: nit Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/offline_pages/core/background/request_queue.h
diff --git a/components/offline_pages/core/background/request_queue.h b/components/offline_pages/core/background/request_queue.h
index 8325dd07173ed7bfb9f125fa7370c5716c738e54..d0c66a7ad487012a5aa5a5b1aedd06a54f097e7a 100644
--- a/components/offline_pages/core/background/request_queue.h
+++ b/components/offline_pages/core/background/request_queue.h
@@ -7,6 +7,7 @@
#include <stdint.h>
+#include <deque>
#include <memory>
#include <set>
#include <string>
@@ -95,7 +96,8 @@ class RequestQueue {
PickRequestTask::RequestNotPickedCallback not_picked_callback,
PickRequestTask::RequestCountCallback request_count_callback,
DeviceConditions& conditions,
- std::set<int64_t>& disabled_requests);
+ std::set<int64_t>& disabled_requests,
+ std::deque<int64_t>& prioritized_requests);
// Reconcile any requests that were active the last time chrome exited.
void ReconcileRequests(const UpdateCallback& callback);

Powered by Google App Engine
This is Rietveld 408576698