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

Unified Diff: components/offline_pages/background/request_queue_in_memory_store.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_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 22bae128f61efada534e1f8493b286ae01ee7f74..d13e4dd80f148a289bf83819a1b7f471564ed433 100644
--- a/components/offline_pages/background/request_queue_in_memory_store.h
+++ b/components/offline_pages/background/request_queue_in_memory_store.h
@@ -23,6 +23,8 @@ class RequestQueueInMemoryStore : public RequestQueueStore {
// RequestQueueStore implementaiton.
void GetRequests(const GetRequestsCallback& callback) override;
+ void AddRequest(const SavePageRequest& offline_page,
Pete Williamson 2016/09/21 00:00:07 So are you renaming AddOrUpdateRequest to UpdateRe
fgorski 2016/09/21 05:07:50 Correct.
+ const AddCallback& callback) override;
void AddOrUpdateRequest(const SavePageRequest& request,
const UpdateCallback& callback) override;

Powered by Google App Engine
This is Rietveld 408576698