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

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

Issue 2865183003: Use the same design for all suggestions (Closed)
Patch Set: Address comments Created 3 years, 7 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 77a101fe3c09fdaa59713391e6ca7fdf879e6bff..0e4e7b5eab2fda5e2ab46a85104a1d5fc2487c63 100644
--- a/ios/chrome/browser/ui/content_suggestions/content_suggestion.h
+++ b/ios/chrome/browser/ui/content_suggestions/content_suggestion.h
@@ -7,7 +7,6 @@
#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 {
@@ -41,10 +40,8 @@ typedef NS_ENUM(NSInteger, ContentSuggestionType) {
@property(nonatomic, copy, nullable) NSString* publisher;
// 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;
+// Whether the suggestion is available offline.
+@property(nonatomic, assign) BOOL availableOffline;
@property(nonatomic, assign) ContentSuggestionType type;

Powered by Google App Engine
This is Rietveld 408576698