Chromium Code Reviews| Index: components/ntp_snippets/content_suggestion.cc |
| diff --git a/components/ntp_snippets/content_suggestion.cc b/components/ntp_snippets/content_suggestion.cc |
| index e5cac6187ed26c3629246355769beb150a8d38e3..04349cbf2ae3ada8b72b9aafc3694f66f39e4d58 100644 |
| --- a/components/ntp_snippets/content_suggestion.cc |
| +++ b/components/ntp_snippets/content_suggestion.cc |
| @@ -54,6 +54,11 @@ void ContentSuggestion::set_recent_tab_suggestion_extra( |
| DCHECK(id_.category().IsKnownCategory(KnownCategories::RECENT_TABS)); |
| recent_tab_suggestion_extra_ = std::move(recent_tab_suggestion_extra); |
| } |
| +void ContentSuggestion::set_reading_list_suggestion_extra( |
|
Marc Treib
2017/03/28 13:38:20
empty line before
gambard
2017/03/29 06:51:24
Done.
|
| + std::unique_ptr<ReadingListSuggestionExtra> reading_list_suggestion_extra) { |
| + DCHECK(id_.category().IsKnownCategory(KnownCategories::READING_LIST)); |
| + reading_list_suggestion_extra_ = std::move(reading_list_suggestion_extra); |
| +} |
| void ContentSuggestion::set_notification_extra( |
| std::unique_ptr<NotificationExtra> notification_extra) { |