Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(325)

Unified Diff: components/ntp_snippets/ntp_snippets_service.cc

Issue 2284393002: Add ClearHistory() to ContentSuggestionsService and its providers (Closed)
Patch Set: |bookmark_model| can be null in tests. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..dbc71396623bd40ad0a68ef98ba47fa854d98b6e 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,
+ const base::Callback<bool(const GURL& url)>& filter) {
+ // TODO(vitaliii): Implement. See crbug.com/641321.
+}
+
void NTPSnippetsService::ClearCachedSuggestions(Category category) {
DCHECK_EQ(category, provided_category_);
if (!initialized())

Powered by Google App Engine
This is Rietveld 408576698