| Index: ios/chrome/browser/ui/content_suggestions/content_suggestion_extra.mm
|
| diff --git a/ios/chrome/browser/ui/content_suggestions/content_suggestion.mm b/ios/chrome/browser/ui/content_suggestions/content_suggestion_extra.mm
|
| similarity index 50%
|
| copy from ios/chrome/browser/ui/content_suggestions/content_suggestion.mm
|
| copy to ios/chrome/browser/ui/content_suggestions/content_suggestion_extra.mm
|
| index 4def822594a1dc1edcd81c233bb7cf6b48b373e1..e5e1e70ff5f96e010b3059b1b208394d4a6ecd5d 100644
|
| --- a/ios/chrome/browser/ui/content_suggestions/content_suggestion.mm
|
| +++ b/ios/chrome/browser/ui/content_suggestions/content_suggestion_extra.mm
|
| @@ -2,23 +2,22 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#import "ios/chrome/browser/ui/content_suggestions/content_suggestion.h"
|
| -
|
| -#include "base/time/time.h"
|
| -#include "url/gurl.h"
|
| +#import "ios/chrome/browser/ui/content_suggestions/content_suggestion_extra.h"
|
|
|
| #if !defined(__has_feature) || !__has_feature(objc_arc)
|
| #error "This file requires ARC support."
|
| #endif
|
|
|
| -@implementation ContentSuggestion
|
| +@implementation ContentSuggestionReadingListExtra
|
| +
|
| ++ (ContentSuggestionReadingListExtra*)extraWithStatus:
|
| + (ReadingListUIDistillationStatus)status {
|
| + ContentSuggestionReadingListExtra* extra =
|
| + [[ContentSuggestionReadingListExtra alloc] init];
|
| + extra.status = status;
|
| + return extra;
|
| +}
|
|
|
| -@synthesize title = _title;
|
| -@synthesize text = _text;
|
| -@synthesize url = _url;
|
| -@synthesize publisher = _publisher;
|
| -@synthesize publishDate = _publishDate;
|
| -@synthesize suggestionIdentifier = _suggestionIdentifier;
|
| -@synthesize type = _type;
|
| +@synthesize status = _status;
|
|
|
| @end
|
|
|