Index: components/ntp_snippets/content_suggestions_service_unittest.cc |
diff --git a/components/ntp_snippets/content_suggestions_service_unittest.cc b/components/ntp_snippets/content_suggestions_service_unittest.cc |
index 064cd38957ce38f0c90f2373f00c96e920760ba2..e7338abaab4055bef6c2a2235e1e8253ce55c965 100644 |
--- a/components/ntp_snippets/content_suggestions_service_unittest.cc |
+++ b/components/ntp_snippets/content_suggestions_service_unittest.cc |
@@ -75,7 +75,7 @@ class MockProvider : public ContentSuggestionsProvider { |
CategoryInfo GetCategoryInfo(Category category) { |
return CategoryInfo(base::ASCIIToUTF16("Section title"), |
- ContentSuggestionsCardLayout::FULL_CARD); |
+ ContentSuggestionsCardLayout::FULL_CARD, true); |
} |
void FireSuggestionsChanged(Category category, std::vector<int> numbers) { |
@@ -87,14 +87,15 @@ class MockProvider : public ContentSuggestionsProvider { |
observer()->OnCategoryStatusChanged(this, category, new_status); |
} |
- MOCK_METHOD1(ClearCachedSuggestionsForDebugging, void(Category category)); |
- MOCK_METHOD1(GetDismissedSuggestionsForDebugging, |
- std::vector<ContentSuggestion>(Category category)); |
- MOCK_METHOD1(ClearDismissedSuggestionsForDebugging, void(Category category)); |
+ MOCK_METHOD1(FetchMoreSuggestions, void(Category category)); |
MOCK_METHOD1(DismissSuggestion, void(const std::string& suggestion_id)); |
MOCK_METHOD2(FetchSuggestionImage, |
void(const std::string& suggestion_id, |
const ImageFetchedCallback& callback)); |
+ MOCK_METHOD1(ClearCachedSuggestionsForDebugging, void(Category category)); |
+ MOCK_METHOD1(GetDismissedSuggestionsForDebugging, |
+ std::vector<ContentSuggestion>(Category category)); |
+ MOCK_METHOD1(ClearDismissedSuggestionsForDebugging, void(Category category)); |
private: |
std::vector<Category> provided_categories_; |