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

Unified Diff: ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.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
Index: ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm
diff --git a/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm b/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm
index 4ed54b7668c9f967bf4ae9311a0d3538b7e7e8f2..a7590b2fe43a62c57c4d73818ca5035825d390fa 100644
--- a/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm
+++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm
@@ -72,10 +72,10 @@ const NSTimeInterval kAnimationDuration = 0.35;
CollectionViewItem* item =
[self.collectionViewModel itemAtIndexPath:indexPath];
switch (item.type) {
- case ItemTypeStack:
+ case ContentSuggestionsItemTypeStack:
[self.suggestionCommandHandler openReadingList];
break;
- case ItemTypeArticle:
+ case ContentSuggestionsItemTypeArticle:
[self openArticle:item];
break;
default:

Powered by Google App Engine
This is Rietveld 408576698