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

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

Issue 2410903003: [Offline pages] Adding capability to query a subset of requests based on IDs (Closed)
Patch Set: 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_store_sql.h
diff --git a/components/offline_pages/background/request_queue_store_sql.h b/components/offline_pages/background/request_queue_store_sql.h
index d67d14f348be14319b20eb265341159b9cff3466..22436a2d0ef4e50f8a580a85b2183292f35ff997 100644
--- a/components/offline_pages/background/request_queue_store_sql.h
+++ b/components/offline_pages/background/request_queue_store_sql.h
@@ -33,6 +33,8 @@ class RequestQueueStoreSQL : public RequestQueueStore {
// RequestQueueStore implementation.
void GetRequests(const GetRequestsCallback& callback) override;
+ void GetRequestsByIds(const std::vector<int64_t>& request_ids,
+ const UpdateCallback& callback) override;
void AddRequest(const SavePageRequest& offline_page,
const AddCallback& callback) override;
void UpdateRequests(const std::vector<SavePageRequest>& requests,

Powered by Google App Engine
This is Rietveld 408576698