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

Unified Diff: components/ntp_snippets/content_suggestions_service.h

Issue 2746133002: ntp_snippets cleanup: Update some interface comments (Closed)
Patch Set: Created 3 years, 9 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 | « components/ntp_snippets/category_status.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c3b44676c7ffa164bf320bd7565f590352f54156..b207e065b472820fe6117cb086385d66c4ad46d2 100644
--- a/components/ntp_snippets/content_suggestions_service.h
+++ b/components/ntp_snippets/content_suggestions_service.h
@@ -50,11 +50,10 @@ class ContentSuggestionsService : public KeyedService,
// data is then available through |GetSuggestionsForCategory(category)|.
virtual void OnNewSuggestions(Category category) = 0;
- // Fired when the status of a suggestions category changed. When the status
- // changes to an unavailable status, the suggestions of the respective
- // category have been invalidated, which means that they must no longer be
- // displayed to the user. The UI must immediately clear any suggestions of
- // that category.
+ // Fired when the status of a suggestions category changed. Note that for
+ // some status changes, the UI must update immediately (e.g. to remove
+ // invalidated suggestions). See comments on the individual CategoryStatus
+ // values for details.
virtual void OnCategoryStatusChanged(Category category,
CategoryStatus new_status) = 0;
« no previous file with comments | « components/ntp_snippets/category_status.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698