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

Unified Diff: components/ntp_snippets/category_factory.cc

Issue 2245583002: Split OfflinePageSuggestions into two categories (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@offlinedismissed
Patch Set: Remove more-button for Recent Tabs Created 4 years, 4 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 | « components/ntp_snippets/category.h ('k') | components/ntp_snippets/content_suggestions_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_snippets/category_factory.cc
diff --git a/components/ntp_snippets/category_factory.cc b/components/ntp_snippets/category_factory.cc
index fc9482cba1ef7580f7889f4880e3b83b1532bff6..5ab6cdbb6fe521136ecb6ecc41e4f10d5a24f00d 100644
--- a/components/ntp_snippets/category_factory.cc
+++ b/components/ntp_snippets/category_factory.cc
@@ -12,7 +12,8 @@ namespace ntp_snippets {
CategoryFactory::CategoryFactory() {
// Add all local categories in a fixed order.
- AddKnownCategory(KnownCategories::OFFLINE_PAGES);
+ AddKnownCategory(KnownCategories::DOWNLOADS);
+ AddKnownCategory(KnownCategories::RECENT_TABS);
AddKnownCategory(KnownCategories::BOOKMARKS);
}
« no previous file with comments | « components/ntp_snippets/category.h ('k') | components/ntp_snippets/content_suggestions_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698