Chromium Code Reviews| Index: ios/chrome/browser/ui/content_suggestions/content_suggestion.h |
| diff --git a/ios/chrome/browser/ui/content_suggestions/content_suggestion.h b/ios/chrome/browser/ui/content_suggestions/content_suggestion.h |
| index 518958ebb084dc25e7ce657e14de5cb39a1d9c59..fa854c0cd37406a3652847a3d0a9dea77055c63f 100644 |
| --- a/ios/chrome/browser/ui/content_suggestions/content_suggestion.h |
| +++ b/ios/chrome/browser/ui/content_suggestions/content_suggestion.h |
| @@ -7,6 +7,7 @@ |
| #import <UIKit/UIKit.h> |
| +#import "ios/chrome/browser/ui/content_suggestions/content_suggestion_id.h" |
| #include "url/gurl.h" |
| @class ContentSuggestionsSectionInformation; |
|
lpromero
2017/02/21 10:33:34
Can remove.
gambard
2017/02/21 14:37:48
Done.
|
| @@ -18,7 +19,7 @@ typedef NS_ENUM(NSInteger, ContentSuggestionType) { |
| // Data for a suggestions item, compatible with Objective-C. Mostly acts as a |
| // wrapper for ntp_snippets::ContentSuggestion. |
| -@interface ContentSuggestion : NSObject |
| +@interface ContentSuggestion : NSObject<ContentSuggestionIDHolder> |
| // Title of the suggestion. |
| @property(nonatomic, copy, nullable) NSString* title; |
| @@ -28,10 +29,6 @@ typedef NS_ENUM(NSInteger, ContentSuggestionType) { |
| @property(nonatomic, strong, nullable) UIImage* image; |
| // URL associated with the suggestion. |
| @property(nonatomic, assign) GURL url; |
| - |
| -// Section information in which this suggestion should be. |
| -@property(nonatomic, strong, nullable) |
| - ContentSuggestionsSectionInformation* section; |
| @property(nonatomic, assign) ContentSuggestionType type; |
| @end |