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

Unified Diff: components/ntp_snippets/ntp_snippets_service.cc

Issue 2357163004: [NTP Snippets] Remove scheduled re-scheduling (Closed)
Patch Set: Review: remove requiresCharging Created 4 years, 3 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 1bb40f4ddc8c77e9919548ea6352b347552144cc..a4d9cc01612a103ae0df98fefdd51b62c7c66294 100644
--- a/components/ntp_snippets/ntp_snippets_service.cc
+++ b/components/ntp_snippets/ntp_snippets_service.cc
@@ -242,8 +242,7 @@ void NTPSnippetsService::RescheduleFetching() {
if (ready()) {
scheduler_->Schedule(GetFetchingIntervalWifi(),
- GetFetchingIntervalFallback(),
- /*reschedule_time=*/base::Time());
+ GetFetchingIntervalFallback());
} else {
scheduler_->Unschedule();
}

Powered by Google App Engine
This is Rietveld 408576698