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

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

Issue 2356433004: [Offline pages] Extracting AddRequest method in RequestQueueStore (Closed)
Patch Set: Updating the callback for AddRequest. Created 4 years, 3 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 158341372404e6e5f92f9c266afc1de7c3d282b6..647474b342476508995bf0c7f43773e23c254d5f 100644
--- a/components/offline_pages/background/request_queue_store_sql.h
+++ b/components/offline_pages/background/request_queue_store_sql.h
@@ -34,6 +34,8 @@ class RequestQueueStoreSQL : public RequestQueueStore {
// RequestQueueStore implementation.
void GetRequests(const GetRequestsCallback& callback) override;
+ void AddRequest(const SavePageRequest& offline_page,
+ const AddCallback& callback) override;
void AddOrUpdateRequest(const SavePageRequest& offline_page,
const UpdateCallback& callback) override;
void RemoveRequests(const std::vector<int64_t>& request_ids,

Powered by Google App Engine
This is Rietveld 408576698