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

Unified Diff: components/ntp_snippets/remote/ntp_snippet_unittest.cc

Issue 2402323002: [NTP Snippets] Persist non-article remote suggestions in the DB (Closed)
Patch Set: review Created 4 years, 2 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/remote/ntp_snippet_unittest.cc
diff --git a/components/ntp_snippets/remote/ntp_snippet_unittest.cc b/components/ntp_snippets/remote/ntp_snippet_unittest.cc
index 2c6c95e0d47aab0fcedb4161193044e91d58f859..44498837e4276948e1126b4e95349bc279696f74 100644
--- a/components/ntp_snippets/remote/ntp_snippet_unittest.cc
+++ b/components/ntp_snippets/remote/ntp_snippet_unittest.cc
@@ -19,7 +19,8 @@ std::unique_ptr<NTPSnippet> SnippetFromContentSuggestionJSON(
if (!json_value->GetAsDictionary(&json_dict)) {
return nullptr;
}
- return NTPSnippet::CreateFromContentSuggestionsDictionary(*json_dict);
+ return NTPSnippet::CreateFromContentSuggestionsDictionary(*json_dict,
+ kArticlesRemoteId);
}
TEST(NTPSnippetTest, FromChromeContentSuggestionsDictionary) {
« no previous file with comments | « components/ntp_snippets/remote/ntp_snippet.cc ('k') | components/ntp_snippets/remote/ntp_snippets_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698