Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(458)

Unified Diff: ios/chrome/browser/ui/content_suggestions/content_suggestions_data_sink.h

Issue 2745593002: Remove categories notified as invalid (Closed)
Patch Set: Add comment Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698