| 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 842b097dd8e4bba8e9641b40e68f5d72f2a5061f..19c9c1a0c1550915f60d80f8d28aff21e83e0cf1 100644
|
| --- a/components/ntp_snippets/content_suggestions_service_unittest.cc
|
| +++ b/components/ntp_snippets/content_suggestions_service_unittest.cc
|
| @@ -100,6 +100,8 @@ class MockProvider : public ContentSuggestionsProvider {
|
| observer()->OnSuggestionInvalidated(this, category, suggestion_id);
|
| }
|
|
|
| + MOCK_METHOD2(RemoveURLsFromHistory,
|
| + void(bool all_history, const std::vector<GURL>& deleted_urls));
|
| MOCK_METHOD3(ClearHistory,
|
| void(base::Time begin,
|
| base::Time end,
|
| @@ -205,7 +207,8 @@ class ContentSuggestionsServiceTest : public testing::Test {
|
| void CreateContentSuggestionsService(
|
| ContentSuggestionsService::State enabled) {
|
| ASSERT_FALSE(service_);
|
| - service_.reset(new ContentSuggestionsService(enabled));
|
| + service_.reset(
|
| + new ContentSuggestionsService(enabled, /*history_service=*/nullptr));
|
| }
|
|
|
| ContentSuggestionsService* service() { return service_.get(); }
|
|
|