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 b02a64ac8181a240a70cbb9b9324c3840aa695d6..17f997d7378a1090788219e16a7856ba62d3ffe9 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; |
| @protocol ContentSuggestionsDataSink; |
| @protocol ContentSuggestionsImageFetcher; |
| +@class ContentSuggestionsSectionInformation; |
|
stkhapugin
2017/03/14 15:25:12
move to line 9 to group @class
gambard
2017/03/14 16:05:30
Done.
|
| // DataSource for the content suggestions. Provides the suggestions data in a |
| // format compatible with Objective-C. |
| @@ -20,6 +21,11 @@ |
| // is available. |
| - (NSArray<ContentSuggestion*>*)allSuggestions; |
| +// Returns the data currently available for the section identified by |
| +// |sectionInfo|. Returns an empty array if nothing is available. |
| +- (NSArray<ContentSuggestion*>*)suggestionsForSection: |
|
stkhapugin
2017/03/14 15:25:12
Consider nullability identifiers in this section :
gambard
2017/03/14 16:05:30
Done :)
|
| + (ContentSuggestionsSectionInformation*)sectionInfo; |
| + |
| // Returns an image updater for the suggestions provided by this data source. |
| - (id<ContentSuggestionsImageFetcher>)imageFetcher; |