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

Unified Diff: ios/chrome/browser/reading_list/reading_list_download_service.h

Issue 2525663002: Refactor Reading List Model to use URL as key. (Closed)
Patch Set: format Created 4 years, 1 month 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: ios/chrome/browser/reading_list/reading_list_download_service.h
diff --git a/ios/chrome/browser/reading_list/reading_list_download_service.h b/ios/chrome/browser/reading_list/reading_list_download_service.h
index f8bc288227e34d1934159af6f58407e3339a6dba..fa8d890d53ffd7608f314ce58555fe598a7e4e07 100644
--- a/ios/chrome/browser/reading_list/reading_list_download_service.h
+++ b/ios/chrome/browser/reading_list/reading_list_download_service.h
@@ -46,14 +46,10 @@ class ReadingListDownloadService
// ReadingListModelObserver implementation
void ReadingListModelLoaded(const ReadingListModel* model) override;
- void ReadingListWillRemoveReadEntry(const ReadingListModel* model,
- size_t index) override;
- void ReadingListWillRemoveUnreadEntry(const ReadingListModel* model,
- size_t index) override;
- void ReadingListWillAddUnreadEntry(const ReadingListModel* model,
- const ReadingListEntry& entry) override;
- void ReadingListWillAddReadEntry(const ReadingListModel* model,
- const ReadingListEntry& entry) override;
+ void ReadingListWillRemoveEntry(const ReadingListModel* model,
+ const GURL& url) override;
+ void ReadingListWillAddEntry(const ReadingListModel* model,
+ const ReadingListEntry& entry) override;
private:
// Tries to save offline versions of all entries in the reading list that are

Powered by Google App Engine
This is Rietveld 408576698