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

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

Issue 2434993002: Add methods to Reading List Model (Closed)
Patch Set: Remove ClearModelForTest Created 4 years, 2 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: ios/chrome/browser/reading_list/reading_list_model_observer.h
diff --git a/ios/chrome/browser/reading_list/reading_list_model_observer.h b/ios/chrome/browser/reading_list/reading_list_model_observer.h
index e438e36632c42b09d26f060ea286afe14780c47c..1d7bea850fcdda8a8cbaa1a343aed2ed82ebbc84 100644
--- a/ios/chrome/browser/reading_list/reading_list_model_observer.h
+++ b/ios/chrome/browser/reading_list/reading_list_model_observer.h
@@ -40,10 +40,9 @@ class ReadingListModelObserver {
size_t index) {}
virtual void ReadingListWillRemoveReadEntry(const ReadingListModel* model,
size_t index) {}
- // Invoked when elements are moved from unread to read. (The opposite does not
- // exist as moving an element from read to unread is considered akin to
- // deleting and re-adding it.) |index| is the original position in the unread
- // list. The element will be added to the beginning of the read list.
+ // Invoked when elements are moved from unread to read or from read to unread.
+ // |index| is the original position in the origin list. The element will be
+ // added to the beginning of the target list.
virtual void ReadingListWillMoveEntry(const ReadingListModel* model,
size_t index) {}

Powered by Google App Engine
This is Rietveld 408576698