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

Unified Diff: ios/chrome/browser/content_suggestions/mediator_util.mm

Issue 2798963002: Remove unused code (Closed)
Patch Set: Created 3 years, 8 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/mediator_util.mm
diff --git a/ios/chrome/browser/content_suggestions/mediator_util.mm b/ios/chrome/browser/content_suggestions/mediator_util.mm
index 99c40a13a568234fb2eb38de42c34d2159de7984..26f7335fe2a9858e7b7fb7b31c532eafbf11165d 100644
--- a/ios/chrome/browser/content_suggestions/mediator_util.mm
+++ b/ios/chrome/browser/content_suggestions/mediator_util.mm
@@ -37,8 +37,6 @@ ContentSuggestionType TypeForCategory(ntp_snippets::Category category) {
ContentSuggestionsSectionID SectionIDForCategory(
ntp_snippets::Category category) {
- if (category.IsKnownCategory(ntp_snippets::KnownCategories::BOOKMARKS))
- return ContentSuggestionsSectionBookmarks;
if (category.IsKnownCategory(ntp_snippets::KnownCategories::ARTICLES))
return ContentSuggestionsSectionArticles;
if (category.IsKnownCategory(ntp_snippets::KnownCategories::READING_LIST))

Powered by Google App Engine
This is Rietveld 408576698