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

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

Issue 2739153002: Reload all ContentSuggestions on notification (Closed)
Patch Set: 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 ab9191f5c4da8e7df10078a8291adb99c684b34b..3c740da1a6bed6099417e336f4cf4f3d945a7444 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
@@ -19,6 +19,10 @@
// pushing information to the data sink.
- (void)clearSuggestion:(ContentSuggestionIdentifier*)suggestionIdentifier;
+// Notifies the Data Sink that it must remove all current data and reload new
+// ones.
+- (void)reloadAllData;
+
@end
#endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_DATA_SINK_H_

Powered by Google App Engine
This is Rietveld 408576698