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

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

Issue 2233493003: [Offline Pages] Remove expired requests from the queue. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing patching error. Created 4 years, 4 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_queue.h
diff --git a/components/offline_pages/background/request_queue.h b/components/offline_pages/background/request_queue.h
index 429c3757b89acc1cec1d65eb7cab9bc9fc604378..4b13526a754062639d3583265127648d916c59c1 100644
--- a/components/offline_pages/background/request_queue.h
+++ b/components/offline_pages/background/request_queue.h
@@ -78,6 +78,9 @@ class RequestQueue {
// |callback|.
void RemoveRequest(int64_t request_id, const UpdateRequestCallback& callback);
+ void RemoveRequestsById(std::vector<int64_t> request_ids,
Pete Williamson 2016/08/10 17:15:11 You can remove this method. RemoveRequest() is ch
romax 2016/08/16 23:20:56 Done.
+ const UpdateRequestCallback& callback);
+
// Removes the requests matching the |client_ids|. Results are returned
// through |callback|.
void RemoveRequestsByClientId(const std::vector<ClientId>& client_id,

Powered by Google App Engine
This is Rietveld 408576698