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

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

Issue 2507053005: Revert of Add Store+Sync to reading list. (Closed)
Patch Set: 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_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 f08d35dfdb74e489e45238d56cbc8e13da3a8072..1d7bea850fcdda8a8cbaa1a343aed2ed82ebbc84 100644
--- a/ios/chrome/browser/reading_list/reading_list_model_observer.h
+++ b/ios/chrome/browser/reading_list/reading_list_model_observer.h
@@ -41,11 +41,10 @@
virtual void ReadingListWillRemoveReadEntry(const ReadingListModel* model,
size_t index) {}
// Invoked when elements are moved from unread to read or from read to unread.
- // |index| is the original position and |read| the origin status. The element
- // will change list and/or index but will not be deleted.
+ // |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,
- bool read) {}
+ size_t index) {}
// Invoked when elements are added to the read or the unread list. The new
// entries are always added at the beginning. these methods may be called

Powered by Google App Engine
This is Rietveld 408576698