Chromium Code Reviews| Index: ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h |
| diff --git a/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h b/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h |
| index 51f41dac90b085da95d31514db7d1db3645c6b45..c7e052ba2c0e0831a2c44a0dfda205b1334ccb07 100644 |
| --- a/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h |
| +++ b/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h |
| @@ -12,10 +12,15 @@ |
| // Objective-C wrapper for ntp_snippets::Category. |
| @interface ContentSuggestionsCategoryWrapper : NSObject<NSCopying> |
| ++ (ContentSuggestionsCategoryWrapper*)wrapperWithCategory: |
| + (ntp_snippets::Category)category; |
| + |
| - (instancetype)initWithCategory:(ntp_snippets::Category)category |
| NS_DESIGNATED_INITIALIZER; |
| + |
| - (instancetype)init NS_UNAVAILABLE; |
| +// The category wrapped by this object. |
|
marq (ping after 24h)
2017/02/16 13:14:35
Should this be a readonly property?
gambard
2017/02/16 13:45:53
I moved from a readonly property to a method becau
stkhapugin
2017/02/17 13:46:15
I prefer it as a method, since a property really i
|
| - (ntp_snippets::Category)category; |
| @end |