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

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

Issue 2568613002: Reconcile the request queue on startup. (Closed)
Patch Set: 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..4442b7f6226cedbe94b1fa185b79079118179d7c 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 when chrome exited.
dougarnett 2016/12/12 17:16:14 ... previously exited. ?
Pete Williamson 2016/12/15 18:37:43 Done.
+ 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