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

Unified Diff: components/ntp_snippets/reading_list/reading_list_suggestions_provider.h

Issue 2780793002: Add extra information for ReadingList ContentSuggestion (Closed)
Patch Set: Address comments 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
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 2463f4e0f72fe33dc09905f3351a5f50bd235768..0e8895f08e03e63083a4c376af6094dfe7583913 100644
--- a/components/ntp_snippets/reading_list/reading_list_suggestions_provider.h
+++ b/components/ntp_snippets/reading_list/reading_list_suggestions_provider.h
@@ -57,6 +57,9 @@ class ReadingListSuggestionsProvider : public ContentSuggestionsProvider,
// model is loaded.
void FetchReadingListInternal();
+ // Converts |entry| to ContentSuggestion.
+ ContentSuggestion ConvertEntry(const ReadingListEntry* entry);
+
// Updates the |category_status_| and notifies the |observer_|, if necessary.
void NotifyStatusChanged(CategoryStatus new_status);
CategoryStatus category_status_;

Powered by Google App Engine
This is Rietveld 408576698