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

Unified Diff: components/ntp_snippets/content_suggestion.cc

Issue 2616543002: Expose notification info in ContentSuggestion (Closed)
Patch Set: Address comments Created 3 years, 11 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 | « components/ntp_snippets/content_suggestion.h ('k') | components/ntp_snippets/remote/ntp_snippet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_snippets/content_suggestion.cc
diff --git a/components/ntp_snippets/content_suggestion.cc b/components/ntp_snippets/content_suggestion.cc
index a1a1d4e8007139dcdf5a7e5d67dad38d47a957de..3b007a4f1c27bac25aac2ccde7965e4ac1944b1f 100644
--- a/components/ntp_snippets/content_suggestion.cc
+++ b/components/ntp_snippets/content_suggestion.cc
@@ -52,4 +52,9 @@ void ContentSuggestion::set_recent_tab_suggestion_extra(
recent_tab_suggestion_extra_ = std::move(recent_tab_suggestion_extra);
}
+void ContentSuggestion::set_notification_extra(
+ std::unique_ptr<NotificationExtra> notification_extra) {
+ notification_extra_ = std::move(notification_extra);
+}
+
} // namespace ntp_snippets
« no previous file with comments | « components/ntp_snippets/content_suggestion.h ('k') | components/ntp_snippets/remote/ntp_snippet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698