Index: ios/chrome/browser/ui/content_suggestions/content_suggestions_data_sink.h |
diff --git a/ios/chrome/browser/ui/content_suggestions/content_suggestions_data_sink.h b/ios/chrome/browser/ui/content_suggestions/content_suggestions_data_sink.h |
index 43d77506df388cac0656c2f6975af168e60010dd..7c163787f9d705349c865f937a2b0bc0fcb98731 100644 |
--- a/ios/chrome/browser/ui/content_suggestions/content_suggestions_data_sink.h |
+++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_data_sink.h |
@@ -6,6 +6,7 @@ |
#define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_DATA_SINK_H_ |
@class ContentSuggestionIdentifier; |
+@class ContentSuggestionsSectionInformation; |
// Data sink for the ContentSuggestions. It will be notified when new data needs |
// to be pulled. |
@@ -23,6 +24,11 @@ |
// ones. |
- (void)reloadAllData; |
+// The section corresponding to |sectionInfo| has been invalidated and must be |
+// cleared now. This is why this method is about the data source pushing |
+// something to the data sink. |
+- (void)clearSection:(ContentSuggestionsSectionInformation*)sectionInfo; |
+ |
@end |
#endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_DATA_SINK_H_ |