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

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

Issue 2796273002: Display offline availability on ContentSuggestions (Closed)
Patch Set: Add comment 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..be3ecdc7b77453ebd85588d827c92ffb0a1686d3 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.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

Powered by Google App Engine
This is Rietveld 408576698