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

Unified Diff: components/ntp_snippets/category_rankers/constant_category_ranker.cc

Issue 2588303003: [NTP::PhysicalWeb] Move Physical Web section to the top. (Closed)
Patch Set: Created 4 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_snippets/category_rankers/constant_category_ranker.cc
diff --git a/components/ntp_snippets/category_rankers/constant_category_ranker.cc b/components/ntp_snippets/category_rankers/constant_category_ranker.cc
index c008b7952413534a5d0fcee77a99fc4f8975dfcf..9fb648a7e41e470ce2c220d9aeef7a2b9f199a0d 100644
--- a/components/ntp_snippets/category_rankers/constant_category_ranker.cc
+++ b/components/ntp_snippets/category_rankers/constant_category_ranker.cc
@@ -10,11 +10,11 @@ namespace ntp_snippets {
ConstantCategoryRanker::ConstantCategoryRanker() {
// Add all local categories in a fixed order.
+ AppendKnownCategory(KnownCategories::PHYSICAL_WEB_PAGES);
AppendKnownCategory(KnownCategories::DOWNLOADS);
AppendKnownCategory(KnownCategories::RECENT_TABS);
AppendKnownCategory(KnownCategories::FOREIGN_TABS);
AppendKnownCategory(KnownCategories::BOOKMARKS);
- AppendKnownCategory(KnownCategories::PHYSICAL_WEB_PAGES);
DCHECK_EQ(static_cast<size_t>(KnownCategories::LOCAL_CATEGORIES_COUNT),
ordered_categories_.size());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698