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 107d0b9ecf1140a11f3956d03063dec7eb0311b0..fcb1c5e0f734d855410cfffba8e4ecdd368ae55f 100644 |
--- a/components/ntp_snippets/reading_list/reading_list_suggestions_provider.h |
+++ b/components/ntp_snippets/reading_list/reading_list_suggestions_provider.h |
@@ -49,10 +49,15 @@ class ReadingListSuggestionsProvider : public ContentSuggestionsProvider, |
// ReadingListModelObserver implementation. |
void ReadingListModelLoaded(const ReadingListModel* model) override; |
+ void ReadingListModelBeingDeleted(const ReadingListModel* model) override; |
private: |
+ // The actual method to fetch Reading List entries. Must be called after the |
+ // model is loaded. |
void FetchReadingListInternal(); |
+ // Updates the |category_status_| and notifies the |observer_|, if necessary. |
+ void NotifyStatusChanged(CategoryStatus new_status); |
CategoryStatus category_status_; |
const Category provided_category_; |