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

Unified Diff: components/offline_pages/background/request_queue_in_memory_store.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_queue_in_memory_store.h
diff --git a/components/offline_pages/background/request_queue_in_memory_store.h b/components/offline_pages/background/request_queue_in_memory_store.h
index 094f1186318e0ab5ed52ccce750f7f055a9562ca..7c8b138dcd5dfda216aca05e0043df28f20e5db8 100644
--- a/components/offline_pages/background/request_queue_in_memory_store.h
+++ b/components/offline_pages/background/request_queue_in_memory_store.h
@@ -27,12 +27,8 @@ class RequestQueueInMemoryStore : public RequestQueueStore {
const AddCallback& callback) override;
void UpdateRequests(const std::vector<SavePageRequest>& requests,
const UpdateCallback& callback) override;
-
- // Remove requests by request ID. The callback will get a list of
- // UpdateMultipleRequestResults and a list of the removed requests (for use by
- // notifications).
void RemoveRequests(const std::vector<int64_t>& request_ids,
- const RemoveCallback& callback) override;
+ const UpdateCallback& callback) override;
void Reset(const ResetCallback& callback) override;
StoreState state() const override;

Powered by Google App Engine
This is Rietveld 408576698