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

Unified Diff: components/offline_pages/background/request_queue_in_memory_store.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_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 d13e4dd80f148a289bf83819a1b7f471564ed433..364de0b1f24fa16c0d246f0746c8789116d020f3 100644
--- a/components/offline_pages/background/request_queue_in_memory_store.h
+++ b/components/offline_pages/background/request_queue_in_memory_store.h
@@ -25,8 +25,8 @@ class RequestQueueInMemoryStore : public RequestQueueStore {
void GetRequests(const GetRequestsCallback& callback) override;
void AddRequest(const SavePageRequest& offline_page,
const AddCallback& callback) override;
- void AddOrUpdateRequest(const SavePageRequest& request,
- const UpdateCallback& 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

Powered by Google App Engine
This is Rietveld 408576698