Index: components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc |
diff --git a/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc b/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc |
index eaea934043a9fc0f63e7163abc1a6f33587c7d2f..639c5061a74400ff3fd34ee7d44955473452b6d4 100644 |
--- a/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc |
+++ b/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc |
@@ -184,6 +184,15 @@ void BookmarkSuggestionsProvider::FetchSuggestionImage( |
FROM_HERE, base::Bind(callback, gfx::Image())); |
} |
+void BookmarkSuggestionsProvider::RemoveURLsFromHistory( |
+ bool all_history, |
+ const std::vector<GURL>& deleted_urls) { |
+ // TODO(vitaliii): Do not remove all dates, but only the ones in |
+ // |deleted_urls|. |
+ RemoveAllLastVisitDates(bookmark_model_); |
+ FetchBookmarks(); |
+} |
+ |
void BookmarkSuggestionsProvider::ClearHistory( |
base::Time begin, |
base::Time end, |