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; |
|
lpromero
2017/02/17 15:47:51
Optional: Do you need this initializer anywhere (o
gambard
2017/02/20 07:57:31
Is there a benefit to put the init private?
|
| + |
| - (instancetype)init NS_UNAVAILABLE; |
| +// The category wrapped by this object. |
| - (ntp_snippets::Category)category; |
| @end |