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

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

Issue 2796273002: Display offline availability on ContentSuggestions (Closed)
Patch Set: Adress comments Created 3 years, 8 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_suggestion.h
diff --git a/ios/chrome/browser/ui/content_suggestions/content_suggestion.h b/ios/chrome/browser/ui/content_suggestions/content_suggestion.h
index f5e01b2b0daa58e186376a5df394a56d0e482496..71967fa78ad4c111c7655996f3612ed5b2c421c7 100644
--- a/ios/chrome/browser/ui/content_suggestions/content_suggestion.h
+++ b/ios/chrome/browser/ui/content_suggestions/content_suggestion.h
@@ -7,6 +7,7 @@
#import <UIKit/UIKit.h>
+#import "ios/chrome/browser/ui/content_suggestions/content_suggestion_extra_builder.h"
#import "ios/chrome/browser/ui/content_suggestions/identifier/content_suggestion_identifier.h"
namespace base {
@@ -40,6 +41,10 @@ typedef NS_ENUM(NSInteger, ContentSuggestionType) {
// The date of publication.
@property(nonatomic, assign) base::Time publishDate;
+// Extra information, only available if the suggestion is of type reading list.
+@property(nonatomic, strong, nullable)
+ ContentSuggestionReadingListExtra* readingListExtra;
+
@property(nonatomic, assign) ContentSuggestionType type;
@end
« no previous file with comments | « ios/chrome/browser/ui/content_suggestions/BUILD.gn ('k') | ios/chrome/browser/ui/content_suggestions/content_suggestion.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698