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

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

Issue 2363563002: [Offline pages] Implementation of RQStore.UpdateRequests with StoreUpdateResult (Closed)
Patch Set: Updating test, adding handling for store/transaction failures. 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 647474b342476508995bf0c7f43773e23c254d5f..80ef7223c2990bd70f7e32fa2def20e9a9f19630 100644
--- a/components/offline_pages/background/request_queue_store_sql.h
+++ b/components/offline_pages/background/request_queue_store_sql.h
@@ -36,8 +36,8 @@ class RequestQueueStoreSQL : public RequestQueueStore {
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 UpdateRequests(const std::vector<SavePageRequest>& requests,
+ const UpdateCallback& callback) override;
void RemoveRequests(const std::vector<int64_t>& request_ids,
const RemoveCallback& callback) override;
void ChangeRequestsState(

Powered by Google App Engine
This is Rietveld 408576698