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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "ios/chrome/browser/ui/content_suggestions/content_suggestion.h" 5 #import "ios/chrome/browser/ui/content_suggestions/content_suggestions_image_upd ater.h"
6 6
7 #if !defined(__has_feature) || !__has_feature(objc_arc) 7 #if !defined(__has_feature) || !__has_feature(objc_arc)
8 #error "This file requires ARC support." 8 #error "This file requires ARC support."
9 #endif 9 #endif
10 10
11 @implementation ContentSuggestion 11 @implementation ContentSuggestionsImageUpdater
12 12
13 @synthesize title = _title; 13 @synthesize item = _item;
14 @synthesize image = _image; 14 @synthesize sectionIdentifier = _sectionIdentifier;
15 @synthesize delegate = _delegate;
16
17 - (void)receivedImage:(UIImage*)image {
18 [self.delegate contentSuggestionsImageUpdater:self receivedImage:image];
19 }
15 20
16 @end 21 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698