Chromium Code Reviews| 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..595ae37117bd9102572d3dc86d22e4c71d1d7d62 100644 |
| --- a/components/ntp_snippets/remote/ntp_snippet_unittest.cc |
| +++ b/components/ntp_snippets/remote/ntp_snippet_unittest.cc |
| @@ -19,7 +19,7 @@ std::unique_ptr<NTPSnippet> SnippetFromContentSuggestionJSON( |
| if (!json_value->GetAsDictionary(&json_dict)) { |
| return nullptr; |
| } |
| - return NTPSnippet::CreateFromContentSuggestionsDictionary(*json_dict); |
| + return NTPSnippet::CreateFromContentSuggestionsDictionary(*json_dict, 1); |
|
Bernhard Bauer
2016/10/10 13:54:54
You could expose the remote category in the header
Marc Treib
2016/10/10 15:54:47
Done.
|
| } |
| TEST(NTPSnippetTest, FromChromeContentSuggestionsDictionary) { |