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

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

Issue 2549163002: RemoteContentSuggestions: Stores the time of the last successful background fetch in a pref (Closed)
Patch Set: Address comments treib Created 4 years 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_snippets_fetcher.cc
diff --git a/components/ntp_snippets/remote/ntp_snippets_fetcher.cc b/components/ntp_snippets/remote/ntp_snippets_fetcher.cc
index 62236a8a375cab50981b1a7798b0ce55f963798c..76ec5f1e74585dcc93d1db4bacd49745612ecec3 100644
--- a/components/ntp_snippets/remote/ntp_snippets_fetcher.cc
+++ b/components/ntp_snippets/remote/ntp_snippets_fetcher.cc
@@ -1005,7 +1005,7 @@ void NTPSnippetsFetcher::FetchFinished(OptionalFetchedCategories categories,
DVLOG(1) << "Fetch finished: " << last_status_;
- std::move(callback).Run(std::move(categories));
+ std::move(callback).Run(status_code, std::move(categories));
}
bool NTPSnippetsFetcher::JsonToSnippets(const base::Value& parsed,

Powered by Google App Engine
This is Rietveld 408576698