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

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

Issue 2568613002: Reconcile the request queue on startup. (Closed)
Patch Set: compile fix Created 4 years 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 caa1134d1a5cbb322aafde16b0688f79dc024bee..8325dd07173ed7bfb9f125fa7370c5716c738e54 100644
--- a/components/offline_pages/core/background/request_queue.h
+++ b/components/offline_pages/core/background/request_queue.h
@@ -97,6 +97,9 @@ class RequestQueue {
DeviceConditions& conditions,
std::set<int64_t>& disabled_requests);
+ // Reconcile any requests that were active the last time chrome exited.
+ void ReconcileRequests(const UpdateCallback& callback);
+
// Cleanup requests that have expired, exceeded the start or completed retry
// limit.
void CleanupRequestQueue();

Powered by Google App Engine
This is Rietveld 408576698