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

Unified Diff: components/offline_pages/offline_page_test_store.h

Issue 2339693002: [Offline pages] Splitting Add and Update methods in OPMStore (Closed)
Patch Set: 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/offline_page_test_store.h
diff --git a/components/offline_pages/offline_page_test_store.h b/components/offline_pages/offline_page_test_store.h
index 41a910383efd94fde95c72d9d63e14c2f194b101..7464bdd15e07d1e3077381cd13d131bf018c29cd 100644
--- a/components/offline_pages/offline_page_test_store.h
+++ b/components/offline_pages/offline_page_test_store.h
@@ -37,8 +37,10 @@ class OfflinePageTestStore : public OfflinePageMetadataStore {
// OfflinePageMetadataStore overrides:
void GetOfflinePages(const LoadCallback& callback) override;
- void AddOrUpdateOfflinePage(const OfflinePageItem& offline_page,
- const UpdateCallback& callback) override;
+ void AddOfflinePage(const OfflinePageItem& offline_page,
+ const AddCallback& callback) override;
+ void UpdateOfflinePages(const std::vector<OfflinePageItem>& pages,
+ const UpdateCallback& callback) override;
void RemoveOfflinePages(const std::vector<int64_t>& offline_ids,
const UpdateCallback& callback) override;
void Reset(const ResetCallback& callback) override;

Powered by Google App Engine
This is Rietveld 408576698