| Index: components/ntp_snippets/content_suggestions_service.cc
|
| diff --git a/components/ntp_snippets/content_suggestions_service.cc b/components/ntp_snippets/content_suggestions_service.cc
|
| index 5a983f423832d440025859ada0dec20eeb99ca3f..2f3cd6d9f9a7d4baa700303fb80ea41af243e10e 100644
|
| --- a/components/ntp_snippets/content_suggestions_service.cc
|
| +++ b/components/ntp_snippets/content_suggestions_service.cc
|
| @@ -81,6 +81,12 @@ void ContentSuggestionsService::FetchSuggestionImage(
|
| callback);
|
| }
|
|
|
| +void ContentSuggestionsService::ClearHistory(base::Time begin, base::Time end) {
|
| + for (const auto& provider : providers_) {
|
| + provider->ClearHistory(begin, end);
|
| + }
|
| +}
|
| +
|
| void ContentSuggestionsService::ClearAllCachedSuggestions() {
|
| suggestions_by_category_.clear();
|
| id_category_map_.clear();
|
|
|