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

Unified Diff: components/reading_list/ios/reading_list_model_observer.h

Issue 2565753002: Only distill unread items (Closed)
Patch Set: past tense in comments Created 4 years 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/reading_list/ios/reading_list_model_observer.h
diff --git a/components/reading_list/ios/reading_list_model_observer.h b/components/reading_list/ios/reading_list_model_observer.h
index 123ea0ba17cbfeae9316035aa1977c05dd5a37af..fc5956917ef41928efef93a7c7cca98d7ca48a24 100644
--- a/components/reading_list/ios/reading_list_model_observer.h
+++ b/components/reading_list/ios/reading_list_model_observer.h
@@ -45,6 +45,12 @@ class ReadingListModelObserver {
virtual void ReadingListWillMoveEntry(const ReadingListModel* model,
const GURL& url) {}
+ // Invoked when elements |MarkEntryUpdated| has been called on an entry. This
+ // means that the order of the entry may have changed and read/unread list may
+ // have changed too.
+ virtual void ReadingListDidMoveEntry(const ReadingListModel* model,
+ const GURL& url) {}
+
// Invoked when elements are added.
virtual void ReadingListWillAddEntry(const ReadingListModel* model,
const ReadingListEntry& entry) {}

Powered by Google App Engine
This is Rietveld 408576698