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

Unified Diff: ios/chrome/browser/ui/content_suggestions/content_suggestions_image_updater.mm

Issue 2691593002: Connect ContentSuggestionsMediator to the ContentService (Closed)
Patch Set: Remove unused method Created 3 years, 10 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_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

Powered by Google App Engine
This is Rietveld 408576698