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

Unified Diff: components/ntp_snippets/ntp_snippets_service.cc

Issue 2284393002: Add ClearHistory() to ContentSuggestionsService and its providers (Closed)
Patch Set: 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..31764ce772b6337c3141e2806b4f36ce7fa69136 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() {
+ // Not implemented.
Marc Treib 2016/08/29 09:43:11 Again, TODO and bug?
vitaliii 2016/08/29 10:37:25 Done.
+}
+
void NTPSnippetsService::ClearCachedSuggestions(Category category) {
DCHECK_EQ(category, provided_category_);
if (!initialized())

Powered by Google App Engine
This is Rietveld 408576698