| Index: ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h
|
| diff --git a/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h b/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h
|
| index f1c79f69f4e905c7613353772a9451d8ad3d5361..6661d090081ccbaefb3e66837aaf24ed42f941f2 100644
|
| --- a/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h
|
| +++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h
|
| @@ -34,6 +34,17 @@
|
| // Returns the ContentSuggestionType associated with this item.
|
| - (ContentSuggestionType)contentSuggestionTypeForItem:(CollectionViewItem*)item;
|
|
|
| +// Adds the sections for the |suggestions| to the model and returns their
|
| +// indices.
|
| +- (NSIndexSet*)addSectionsForSuggestionsToModel:
|
| + (NSArray<ContentSuggestion*>*)suggestions;
|
| +
|
| +// Adds the |suggestions| to the model and returns their index paths.
|
| +// The caller must ensure the corresponding sections have been added to the
|
| +// model.
|
| +- (NSArray<NSIndexPath*>*)addSuggestionsToModel:
|
| + (NSArray<ContentSuggestion*>*)suggestions;
|
| +
|
| @end
|
|
|
| #endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_COLLECTION_UPDATER_H_
|
|
|