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

Unified Diff: components/ntp_snippets/ntp_snippets_service.cc

Issue 1922083004: Allow fetching personalized snippets from ChromeReader. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Yet another unittest fix Created 4 years, 7 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/ntp_snippets_service.cc
diff --git a/components/ntp_snippets/ntp_snippets_service.cc b/components/ntp_snippets/ntp_snippets_service.cc
index 226f4c6712bfd118a22c6ae4e2398562ee864d74..8646a240f871346cf3fb384356238643cb489252 100644
--- a/components/ntp_snippets/ntp_snippets_service.cc
+++ b/components/ntp_snippets/ntp_snippets_service.cc
@@ -209,7 +209,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() {
« no previous file with comments | « components/ntp_snippets/ntp_snippets_fetcher_unittest.cc ('k') | components/ntp_snippets/ntp_snippets_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698