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

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: cleanup 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
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 808e1910fd47532845e4b0112f1b843ca2613928..94e887881951208017a2771ce42f06ea8e656b06 100644
--- a/components/ntp_snippets/ntp_snippets_service.h
+++ b/components/ntp_snippets/ntp_snippets_service.h
@@ -265,9 +265,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(ContentSuggestionsCategoryStatus status);
State state_;
« no previous file with comments | « no previous file | components/ntp_snippets/ntp_snippets_service.cc » ('j') | components/ntp_snippets/ntp_snippets_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698