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

Unified Diff: components/ntp_snippets/reading_list/reading_list_suggestions_provider.h

Issue 2815623002: ReadingListProvider handles dismissal (Closed)
Patch Set: Address comments Created 3 years, 8 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
« no previous file with comments | « no previous file | components/ntp_snippets/reading_list/reading_list_suggestions_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_snippets/reading_list/reading_list_suggestions_provider.h
diff --git a/components/ntp_snippets/reading_list/reading_list_suggestions_provider.h b/components/ntp_snippets/reading_list/reading_list_suggestions_provider.h
index e483d918f2abb1d429009c8255fa492c0a319764..433d9493b80f313993c27fb8848dc52c907562d7 100644
--- a/components/ntp_snippets/reading_list/reading_list_suggestions_provider.h
+++ b/components/ntp_snippets/reading_list/reading_list_suggestions_provider.h
@@ -65,6 +65,10 @@ class ReadingListSuggestionsProvider : public ContentSuggestionsProvider,
// Updates the |category_status_| and notifies the |observer_|, if necessary.
void NotifyStatusChanged(CategoryStatus new_status);
+
+ // Sets the dismissed status of the entry to |dismissed|.
+ void SetDismissedState(const GURL& url, bool dismissed);
+
CategoryStatus category_status_;
const Category provided_category_;
« no previous file with comments | « no previous file | components/ntp_snippets/reading_list/reading_list_suggestions_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698