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

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

Issue 2585263002: [NTP::SectionOrder] First version of click based category ranker. (Closed)
Patch Set: tschumann@ & bauerb@ comments. 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
Index: components/ntp_snippets/category_rankers/constant_category_ranker.h
diff --git a/components/ntp_snippets/category_rankers/constant_category_ranker.h b/components/ntp_snippets/category_rankers/constant_category_ranker.h
index c01f0b969dbba70acc56c7f763106fcfe9c7fac6..6d2a14329bcf113732c4e4f2a59012b8b541dede 100644
--- a/components/ntp_snippets/category_rankers/constant_category_ranker.h
+++ b/components/ntp_snippets/category_rankers/constant_category_ranker.h
@@ -29,6 +29,8 @@ class ConstantCategoryRanker : public CategoryRanker {
void AppendCategoryIfNecessary(Category category) override;
void OnSuggestionOpened(Category category) override;
+ static std::vector<KnownCategories> GetKnownCategoriesDefaultOrder();
+
private:
void AppendKnownCategory(KnownCategories known_category);

Powered by Google App Engine
This is Rietveld 408576698