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

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

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
« no previous file with comments | « components/ntp_snippets/category_rankers/fake_category_ranker.cc ('k') | 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/mock_category_ranker.h
diff --git a/components/ntp_snippets/category_rankers/mock_category_ranker.h b/components/ntp_snippets/category_rankers/mock_category_ranker.h
index 2238aeea7e74e53f2f66c572059e1015846f0acb..6dbed913c8e4d32f175bc79785e73c2297ba72af 100644
--- a/components/ntp_snippets/category_rankers/mock_category_ranker.h
+++ b/components/ntp_snippets/category_rankers/mock_category_ranker.h
@@ -24,6 +24,7 @@ class MockCategoryRanker : public CategoryRanker {
void(Category category_to_insert, Category anchor));
MOCK_METHOD2(InsertCategoryAfterIfNecessary,
void(Category category_to_insert, Category anchor));
+ MOCK_METHOD0(GetDebugData, std::vector<CategoryRanker::DebugDataItem>());
MOCK_METHOD1(OnSuggestionOpened, void(Category category));
MOCK_METHOD1(OnCategoryDismissed, void(Category Category));
};
« no previous file with comments | « components/ntp_snippets/category_rankers/fake_category_ranker.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698