Chromium Code Reviews| 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..a7fe791cd478e0f37c22776ffe682157ef63df13 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,6 +8,7 @@ |
| @class ContentSuggestion; |
| @class ContentSuggestionIdentifier; |
| @class ContentSuggestionsSectionInformation; |
| +@class FaviconAttributesProvider; |
| @protocol ContentSuggestionsDataSink; |
| @protocol ContentSuggestionsImageFetcher; |
| @@ -21,6 +22,10 @@ typedef void (^MoreSuggestionsFetched)(NSArray<ContentSuggestion*>* _Nonnull); |
| // The data sink that will be notified when the data change. |
| @property(nonatomic, nullable, weak) id<ContentSuggestionsDataSink> dataSink; |
| +// Returns a FaviconAttributesProvider to fetch the favicon for the suggestions. |
| +@property(nonatomic, nullable, strong, readonly) |
| + FaviconAttributesProvider* attributesProvider; |
|
lpromero
2017/03/29 13:32:07
I think this should not be know by the UI layer. Y
gambard
2017/03/30 08:07:11
Done.
|
| + |
| // Returns all the data currently available. |
| - (nonnull NSArray<ContentSuggestion*>*)allSuggestions; |