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

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

Issue 2729763002: [Offline Pages] Pick correct request when resuming. (Closed)
Patch Set: comments. 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..12143458bfdadcdffb6155ba8da246aa2ce41825 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 <list>
#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::vector<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