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

Unified Diff: components/ntp_snippets/content_suggestions_service.h

Issue 2340333002: 📰 Make status cards swipable (Closed)
Patch Set: fix nit Created 4 years, 3 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/content_suggestions_service.h
diff --git a/components/ntp_snippets/content_suggestions_service.h b/components/ntp_snippets/content_suggestions_service.h
index 50a6e6f5fe7e52ba48aeb096a1406c90477ba78a..8b9c1eec7e2b94cf0205cc7490e4d2ee322bebea 100644
--- a/components/ntp_snippets/content_suggestions_service.h
+++ b/components/ntp_snippets/content_suggestions_service.h
@@ -121,6 +121,10 @@ class ContentSuggestionsService : public KeyedService,
// This will not trigger an update through the observers.
void DismissSuggestion(const std::string& suggestion_id);
+ // Dismisses the given |category|, if it exists.
+ // This will not trigger an update through the observers.
+ void DismissCategory(Category category);
+
// Observer accessors.
void AddObserver(Observer* observer);
void RemoveObserver(Observer* observer);
« no previous file with comments | « chrome/browser/android/ntp/ntp_snippets_bridge.cc ('k') | components/ntp_snippets/content_suggestions_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698