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

Unified Diff: components/ntp_snippets/ntp_snippets_service.cc

Issue 2284393002: Add ClearHistory() to ContentSuggestionsService and its providers (Closed)
Patch Set: Marc's comments. 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 99546b7f2e9ad352b9b6e6c091d5804633cb1c11..753389756378f4081640ff42f04dd8e7b82c8e6a 100644
--- a/components/ntp_snippets/ntp_snippets_service.cc
+++ b/components/ntp_snippets/ntp_snippets_service.cc
@@ -335,6 +335,10 @@ void NTPSnippetsService::FetchSuggestionImage(
base::Unretained(this), callback, snippet_id));
}
+void NTPSnippetsService::ClearHistory(base::Time begin, base::Time end) {
+ // 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