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

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: After code review #5 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 d7ca7cb11e594565a0f3182664f69317830216aa..f596ccb87a361fdf9b988877a2bf365c6fd4ba9c 100644
--- a/components/ntp_snippets/ntp_snippets_service.cc
+++ b/components/ntp_snippets/ntp_snippets_service.cc
@@ -211,7 +211,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() {

Powered by Google App Engine
This is Rietveld 408576698