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

Unified Diff: ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h

Issue 2691593002: Connect ContentSuggestionsMediator to the ContentService (Closed)
Patch Set: Address comments 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/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

Powered by Google App Engine
This is Rietveld 408576698