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

Unified Diff: ios/chrome/browser/reading_list/reading_list_model_bridge_observer.mm

Issue 2451843002: Add Store+Sync to reading list. (Closed)
Patch Set: reading_list_model_unittests 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_bridge_observer.mm
diff --git a/ios/chrome/browser/reading_list/reading_list_model_bridge_observer.mm b/ios/chrome/browser/reading_list/reading_list_model_bridge_observer.mm
index c37a1e09df2fc405b5901ced2520db6a428a2225..35eff2967f2fc9dd5ae53ce9ccb148950e6dc48f 100644
--- a/ios/chrome/browser/reading_list/reading_list_model_bridge_observer.mm
+++ b/ios/chrome/browser/reading_list/reading_list_model_bridge_observer.mm
@@ -94,10 +94,12 @@ void ReadingListModelBridge::ReadingListModelCompletedBatchUpdates(
void ReadingListModelBridge::ReadingListWillMoveEntry(
const ReadingListModel* model,
- size_t index) {
- if ([observer_
- respondsToSelector:@selector(readingListModel:willMoveEntry:)]) {
- [observer_ readingListModel:model willMoveEntry:index];
+ size_t index,
+ bool read) {
+ if ([observer_ respondsToSelector:@selector(readingListModel:
+ willMoveEntry:
+ isRead:)]) {
+ [observer_ readingListModel:model willMoveEntry:index isRead:read];
}
}

Powered by Google App Engine
This is Rietveld 408576698