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

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: Marc's comments 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
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);
}

Powered by Google App Engine
This is Rietveld 408576698