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

Unified Diff: components/ntp_snippets/ntp_snippets_service.h

Issue 2190353002: 📰Fix SnippetsService's status reporting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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/ntp_snippets_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_snippets/ntp_snippets_service.h
diff --git a/components/ntp_snippets/ntp_snippets_service.h b/components/ntp_snippets/ntp_snippets_service.h
index 6aa59b9916e47e5fb953f04af376935d8401a4a8..a2245e5c6446f6584ea562bfd0e6849db4a197eb 100644
--- a/components/ntp_snippets/ntp_snippets_service.h
+++ b/components/ntp_snippets/ntp_snippets_service.h
@@ -267,9 +267,9 @@ class NTPSnippetsService : public KeyedService,
// the observers.
void NotifyNewSuggestions();
- // Notifies the content suggestions observer about a change in the
- // |category_status_|.
- void NotifyCategoryStatusChanged();
+ // Updates the internal status |category_status_| and notifies the content
+ // suggestions observer if it changed.
+ void UpdateCategoryStatus(CategoryStatus status);
State state_;
« no previous file with comments | « no previous file | components/ntp_snippets/ntp_snippets_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698