| 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 725d24148ba1d381fd6318b1bf0eb2af82c0f2b8..c1977e50c8767454c388edfb5c1b7d1a5de75e82 100644
|
| --- a/components/ntp_snippets/content_suggestions_service.cc
|
| +++ b/components/ntp_snippets/content_suggestions_service.cc
|
| @@ -81,6 +81,15 @@ void ContentSuggestionsService::FetchSuggestionImage(
|
| callback);
|
| }
|
|
|
| +void ContentSuggestionsService::ClearHistory(
|
| + base::Time begin,
|
| + base::Time end,
|
| + const base::Callback<bool(const GURL& url)>& filter) {
|
| + for (const auto& provider : providers_) {
|
| + provider->ClearHistory(begin, end, filter);
|
| + }
|
| +}
|
| +
|
| void ContentSuggestionsService::ClearAllCachedSuggestions() {
|
| suggestions_by_category_.clear();
|
| id_category_map_.clear();
|
|
|