| 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 3758b553f90aa4660b2bcb9c92c968a9049c392b..fc7bfe16f3c95a10d476ed054af8a60ae2ce3252 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
|
| @@ -8,8 +8,10 @@
|
| @class ContentSuggestion;
|
| @class ContentSuggestionIdentifier;
|
| @class ContentSuggestionsSectionInformation;
|
| +@class FaviconAttributes;
|
| @protocol ContentSuggestionsDataSink;
|
| @protocol ContentSuggestionsImageFetcher;
|
| +class GURL;
|
|
|
| // Typedef for a block taking the fetched suggestions as parameter.
|
| typedef void (^MoreSuggestionsFetched)(NSArray<ContentSuggestion*>* _Nonnull);
|
| @@ -32,6 +34,12 @@ typedef void (^MoreSuggestionsFetched)(NSArray<ContentSuggestion*>* _Nonnull);
|
| // Returns an image updater for the suggestions provided by this data source.
|
| - (nullable id<ContentSuggestionsImageFetcher>)imageFetcher;
|
|
|
| +// Fetches favicon attributes and calls the completion block.
|
| +- (void)fetchFaviconAttributesForURL:(const GURL&)URL
|
| + completion:
|
| + (void (^_Nonnull)(FaviconAttributes* _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.
|
|
|