Commit 374735e0 authored by vitaliii's avatar vitaliii Committed by Commit bot

[NTP::PhysicalWeb] Move Physical Web section to the top.

According to the PRD the Physical Web section should be first on the
NTP.

BUG=674890

Review-Url: https://codereview.chromium.org/2588303003
Cr-Commit-Position: refs/heads/master@{#439777}
parent 66b3060d
......@@ -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());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment