Chromium Code Reviews| Index: components/ntp_snippets/ntp_snippets_service.cc |
| diff --git a/components/ntp_snippets/ntp_snippets_service.cc b/components/ntp_snippets/ntp_snippets_service.cc |
| index d7ca7cb11e594565a0f3182664f69317830216aa..55f246262459de578d43f492657d0a72fce67030 100644 |
| --- a/components/ntp_snippets/ntp_snippets_service.cc |
| +++ b/components/ntp_snippets/ntp_snippets_service.cc |
| @@ -11,11 +11,13 @@ |
| #include "base/command_line.h" |
| #include "base/files/file_path.h" |
| #include "base/files/file_util.h" |
| +#include "base/json/json_reader.h" |
|
Marc Treib
2016/05/09 12:33:34
Not required? Also stringprintf below I think.
jkrcal
2016/05/09 15:30:13
Done.
|
| #include "base/location.h" |
| #include "base/metrics/histogram_macros.h" |
| #include "base/metrics/sparse_histogram.h" |
| #include "base/path_service.h" |
| #include "base/strings/string_number_conversions.h" |
| +#include "base/strings/stringprintf.h" |
| #include "base/task_runner_util.h" |
| #include "base/time/time.h" |
| #include "base/values.h" |
| @@ -211,7 +213,8 @@ void NTPSnippetsService::FetchSnippets() { |
| void NTPSnippetsService::FetchSnippetsFromHosts( |
| const std::set<std::string>& hosts) { |
| - snippets_fetcher_->FetchSnippetsFromHosts(hosts, kMaxSnippetCount); |
| + snippets_fetcher_->FetchSnippetsFromHosts( |
| + hosts, application_language_code_, kMaxSnippetCount); |
| } |
| void NTPSnippetsService::RescheduleFetching() { |