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

Unified Diff: components/ntp_snippets/ntp_snippets_service.cc

Issue 1756443002: [NTP Snippets] Fetcher: remove |overwrite| param (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@snippets_expire
Patch Set: fix test Created 4 years, 10 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
« no previous file with comments | « components/ntp_snippets/ntp_snippets_service.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6a6898298a09ac69032965a80db510a44b1f85c2..abb96479097b2f196fadb59fa086853e94393f83 100644
--- a/components/ntp_snippets/ntp_snippets_service.cc
+++ b/components/ntp_snippets/ntp_snippets_service.cc
@@ -67,7 +67,7 @@ void NTPSnippetsService::Init(bool enabled) {
// If we don't have any snippets yet, start a fetch.
if (snippets_.empty())
- FetchSnippets(false);
+ FetchSnippets();
}
// The scheduler only exists on Android so far, it's null on other platforms.
@@ -86,8 +86,8 @@ void NTPSnippetsService::Shutdown() {
loaded_ = false;
}
-void NTPSnippetsService::FetchSnippets(bool overwrite) {
- snippets_fetcher_->FetchSnippets(overwrite);
+void NTPSnippetsService::FetchSnippets() {
+ snippets_fetcher_->FetchSnippets();
}
void NTPSnippetsService::AddObserver(NTPSnippetsServiceObserver* observer) {
« no previous file with comments | « components/ntp_snippets/ntp_snippets_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698