Chromium Code Reviews| Index: components/ntp_snippets/ntp_snippets_service.cc |
| diff --git a/components/ntp_snippets/ntp_snippets_service.cc b/components/ntp_snippets/ntp_snippets_service.cc |
| index 7e0fc879a621ae4e928a565ddcfa43db969413b8..649ea3e6ec398853a17cafa00493aa0ef8a9b873 100644 |
| --- a/components/ntp_snippets/ntp_snippets_service.cc |
| +++ b/components/ntp_snippets/ntp_snippets_service.cc |
| @@ -335,6 +335,13 @@ void NTPSnippetsService::FetchSuggestionImage( |
| base::Unretained(this), callback, snippet_id)); |
| } |
| +void NTPSnippetsService::ClearHistory( |
| + base::Time begin, |
| + base::Time end, |
| + base::Callback<bool(const GURL& url)> filter) { |
|
msramek
2016/08/30 13:02:22
nit: If these deletions are going to happen on the
vitaliii
2016/08/30 14:17:48
Done.
|
| + // TODO(vitaliii): Implement. See crbug.com/641321. |
| +} |
| + |
| void NTPSnippetsService::ClearCachedSuggestions(Category category) { |
| DCHECK_EQ(category, provided_category_); |
| if (!initialized()) |