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

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;
+
- (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

Powered by Google App Engine
This is Rietveld 408576698