Chromium Code Reviews| Index: chrome/browser/browsing_data/browsing_data_remover.cc |
| diff --git a/chrome/browser/browsing_data/browsing_data_remover.cc b/chrome/browser/browsing_data/browsing_data_remover.cc |
| index 42156529798915316326dcd3fd59061224e0ff61..253558f452af3bd36c3b42597672bf6d049c85f1 100644 |
| --- a/chrome/browser/browsing_data/browsing_data_remover.cc |
| +++ b/chrome/browser/browsing_data/browsing_data_remover.cc |
| @@ -490,6 +490,12 @@ void BrowsingDataRemover::RemoveImpl( |
| "OriginTypeMask has been updated without updating user metrics"); |
| if ((remove_mask & REMOVE_HISTORY) && may_delete_history) { |
| + ntp_snippets::ContentSuggestionsService* content_suggestions_service = |
| + ContentSuggestionsServiceFactory::GetForProfile(profile_); |
| + if (content_suggestions_service) |
|
Marc Treib
2016/08/30 09:50:18
Braces if the body doesn't fit on one line.
vitaliii
2016/08/30 11:04:21
Done.
|
| + content_suggestions_service->ClearHistory(time_range.begin, |
| + time_range.end); |
| + |
| history::HistoryService* history_service = |
| HistoryServiceFactory::GetForProfile( |
| profile_, ServiceAccessType::EXPLICIT_ACCESS); |