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

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

Issue 2610553002: [NTP::SectionOrder] Make ClickBasedRanker move dismissed sections down. (Closed)
Patch Set: jkrcal@ comment. Created 3 years, 12 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/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 2828167956771e76daa862166914d1ad776dfdd1..5ec50ca7b32c063806c2c0159f1be6f111ec2337 100644
--- a/components/ntp_snippets/category_rankers/mock_category_ranker.h
+++ b/components/ntp_snippets/category_rankers/mock_category_ranker.h
@@ -21,6 +21,7 @@ class MockCategoryRanker : public CategoryRanker {
MOCK_METHOD2(ClearHistory, void(base::Time begin, base::Time end));
MOCK_METHOD1(AppendCategoryIfNecessary, void(Category category));
MOCK_METHOD1(OnSuggestionOpened, void(Category category));
+ MOCK_METHOD1(OnCategoryDismissed, void(Category Category));
};
} // namespace ntp_snippets

Powered by Google App Engine
This is Rietveld 408576698