| Index: ios/chrome/browser/ui/reading_list/reading_list_data_source.h
|
| diff --git a/ios/chrome/browser/ui/reading_list/reading_list_data_source.h b/ios/chrome/browser/ui/reading_list/reading_list_data_source.h
|
| index 0d052e7dadf56b220cb9f820b0232d980a38ffbc..0feb01d7d5aecd92288731991ac64521cfb1a3b2 100644
|
| --- a/ios/chrome/browser/ui/reading_list/reading_list_data_source.h
|
| +++ b/ios/chrome/browser/ui/reading_list/reading_list_data_source.h
|
| @@ -12,6 +12,7 @@
|
|
|
| class GURL;
|
| class ReadingListEntry;
|
| +@class ReadingListCollectionViewItem;
|
| @protocol ReadingListDataSink;
|
|
|
| // Data Source for the Reading List UI, providing the data sink with the data to
|
| @@ -36,8 +37,14 @@ class ReadingListEntry;
|
| // Removes the entry associated with |URL|.
|
| - (void)removeEntryWithURL:(const GURL&)URL;
|
|
|
| +// Fills the |readArray| and |unreadArray| with the corresponding items from the
|
| +// model. The items are sorted most recent first.
|
| +- (void)fillReadItems:
|
| + (nullable NSMutableArray<ReadingListCollectionViewItem*>*)readArray
|
| + unreadItems:(nullable NSMutableArray<ReadingListCollectionViewItem*>*)
|
| + unreadArray;
|
| +
|
| // TODO(crbug.com/721758): Return ReadingListItem directly.
|
| -- (const std::vector<GURL>)keys;
|
| - (const ReadingListEntry* _Nullable)entryWithURL:(const GURL&)URL;
|
|
|
| // TODO(crbug.com/721758): Batch updates should be done in the mediator.
|
|
|