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

Unified Diff: components/offline_pages/background/request_picker.h

Issue 2373933003: [Offline pages] Updating RequestQueue::RemoveRequests to use a TaskQueue (Closed)
Patch Set: Addressing final feedback Created 4 years, 2 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/background/request_picker.h
diff --git a/components/offline_pages/background/request_picker.h b/components/offline_pages/background/request_picker.h
index 0c8dcb7b6f0e0fd46c6d5e39255a25b660d3fa46..0f80dd7b2ed8c9e3df0a6d479a78931d9425efde 100644
--- a/components/offline_pages/background/request_picker.h
+++ b/components/offline_pages/background/request_picker.h
@@ -78,9 +78,7 @@ class RequestPicker {
std::vector<std::unique_ptr<SavePageRequest>>* expired_requests);
// Callback used after requests get expired.
- void OnRequestExpired(
- const RequestQueue::UpdateMultipleRequestResults& results,
- const std::vector<std::unique_ptr<SavePageRequest>> requests);
+ void OnRequestExpired(std::unique_ptr<UpdateRequestsResult> result);
// Unowned pointer to the request queue.
RequestQueue* queue_;

Powered by Google App Engine
This is Rietveld 408576698