| Index: ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.h
|
| diff --git a/ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.h b/ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.h
|
| index 87422a9242bc72ceeb1b248e2a8f5cfd694fa8a6..39ac7dd6e749704dee85176467b2a949f31be2cd 100644
|
| --- a/ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.h
|
| +++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.h
|
| @@ -9,6 +9,10 @@
|
| #import "ios/third_party/material_components_ios/src/components/CollectionCells/src/MaterialCollectionCells.h"
|
| #include "url/gurl.h"
|
|
|
| +namespace base {
|
| +class Time;
|
| +}
|
| +
|
| // Item for an article in the suggestions.
|
| @interface ContentSuggestionsArticleItem : CollectionViewItem
|
|
|
| @@ -25,6 +29,8 @@
|
| @property(nonatomic, copy, readonly) NSString* title;
|
| @property(nonatomic, strong) UIImage* image;
|
| @property(nonatomic, readonly, assign) GURL articleURL;
|
| +@property(nonatomic, copy) NSString* publisher;
|
| +@property(nonatomic, assign) base::Time publishDate;
|
|
|
| @end
|
|
|
| @@ -35,6 +41,8 @@
|
| @property(nonatomic, readonly, strong) UILabel* subtitleLabel;
|
| @property(nonatomic, readonly, strong) UIImageView* imageView;
|
|
|
| +- (void)setPublisherName:(NSString*)publisherName date:(base::Time)publishDate;
|
| +
|
| @end
|
|
|
| #endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_ARTICLE_ITEM_H_
|
|
|