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

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

Issue 2889153003: [NTP::SectionOrder] Add ranker section to snippets internals. (Closed)
Patch Set: jkrcal@ nit. Created 3 years, 7 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_rankers/fake_category_ranker.cc
diff --git a/components/ntp_snippets/category_rankers/fake_category_ranker.cc b/components/ntp_snippets/category_rankers/fake_category_ranker.cc
index 94739a7b52523f8bbb7152e4dbdcab0e6acda074..42ce8bc9dab8ab32122fbba5006f75af5edc0610 100644
--- a/components/ntp_snippets/category_rankers/fake_category_ranker.cc
+++ b/components/ntp_snippets/category_rankers/fake_category_ranker.cc
@@ -42,6 +42,11 @@ void FakeCategoryRanker::InsertCategoryAfterIfNecessary(
// Ignored.
}
+std::vector<CategoryRanker::DebugDataItem> FakeCategoryRanker::GetDebugData() {
+ // Ignored.
+ return std::vector<CategoryRanker::DebugDataItem>();
+}
+
void FakeCategoryRanker::OnSuggestionOpened(Category category) {
// Ignored.
}

Powered by Google App Engine
This is Rietveld 408576698