| Index: ios/chrome/browser/ui/content_suggestions/content_suggestions_data_source.h
|
| diff --git a/ios/chrome/browser/ui/content_suggestions/content_suggestions_data_source.h b/ios/chrome/browser/ui/content_suggestions/content_suggestions_data_source.h
|
| index fc7bfe16f3c95a10d476ed054af8a60ae2ce3252..671b7f152877e7fb5fe325688d4a6ed68e35561a 100644
|
| --- a/ios/chrome/browser/ui/content_suggestions/content_suggestions_data_source.h
|
| +++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_data_source.h
|
| @@ -40,6 +40,14 @@ typedef void (^MoreSuggestionsFetched)(NSArray<ContentSuggestion*>* _Nonnull);
|
| (void (^_Nonnull)(FaviconAttributes* _Nonnull))
|
| completion;
|
|
|
| +// Fetches favicon image associated with this |suggestion| in history. If it is
|
| +// not present in the history, tries to download it. Calls the completion block
|
| +// if an image has been found.
|
| +// This can only be used for public URL.
|
| +- (void)
|
| +fetchFaviconImageForSuggestion:(nonnull ContentSuggestionIdentifier*)suggestion
|
| + completion:(void (^_Nonnull)(UIImage* _Nonnull))completion;
|
| +
|
| // Fetches additional content. All the |knownSuggestions| must come from the
|
| // same |sectionInfo|. If the fetch was completed, the given |callback| is
|
| // called with the new content.
|
|
|