| Index: ios/chrome/browser/ui/content_suggestions/content_suggestions_image_updater.mm
|
| diff --git a/ios/chrome/browser/ui/content_suggestions/content_suggestion.mm b/ios/chrome/browser/ui/content_suggestions/content_suggestions_image_updater.mm
|
| similarity index 53%
|
| copy from ios/chrome/browser/ui/content_suggestions/content_suggestion.mm
|
| copy to ios/chrome/browser/ui/content_suggestions/content_suggestions_image_updater.mm
|
| index 0d25178ed478f608d6eb5eeff0d74e51e6db7aad..fd7b30763ff76619efc526c264755ab941d61386 100644
|
| --- a/ios/chrome/browser/ui/content_suggestions/content_suggestion.mm
|
| +++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_image_updater.mm
|
| @@ -2,15 +2,20 @@
|
| // 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"
|
| +#import "ios/chrome/browser/ui/content_suggestions/content_suggestions_image_updater.h"
|
|
|
| #if !defined(__has_feature) || !__has_feature(objc_arc)
|
| #error "This file requires ARC support."
|
| #endif
|
|
|
| -@implementation ContentSuggestion
|
| +@implementation ContentSuggestionsImageUpdater
|
|
|
| -@synthesize title = _title;
|
| -@synthesize image = _image;
|
| +@synthesize item = _item;
|
| +@synthesize sectionIdentifier = _sectionIdentifier;
|
| +@synthesize delegate = _delegate;
|
| +
|
| +- (void)receivedImage:(UIImage*)image {
|
| + [self.delegate contentSuggestionsImageUpdater:self receivedImage:image];
|
| +}
|
|
|
| @end
|
|
|