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

Unified Diff: ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.mm

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
« no previous file with comments | « ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.mm
diff --git a/ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.mm b/ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.mm
index 85969aab0b4bf71d9508a159b7f6ea5dfe2d1d5f..817f8aa06b584d29c42193b4b111cfed42482275 100644
--- a/ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.mm
+++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.mm
@@ -14,20 +14,14 @@
@synthesize emptyCell = _emptyCell;
@synthesize layout = _layout;
-@synthesize ID = _ID;
+@synthesize sectionID = _sectionID;
@synthesize title = _title;
-- (instancetype)initWithID:(ContentSuggestionsSectionID)ID
- emptyCell:(CollectionViewItem*)emptyCell
- layout:(ContentSuggestionsSectionLayout)layout
- title:(NSString*)title {
+- (instancetype)initWithSectionID:(ContentSuggestionsSectionID)sectionID {
self = [super init];
if (self) {
- DCHECK(ID < ContentSuggestionsSectionCount);
- _ID = ID;
- _layout = layout;
- _emptyCell = emptyCell;
- _title = [title copy];
+ DCHECK(sectionID < ContentSuggestionsSectionUnknown);
+ _sectionID = sectionID;
}
return self;
}
« no previous file with comments | « ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698