Index: components/ntp_snippets/ntp_snippets_scheduler.h |
diff --git a/components/ntp_snippets/ntp_snippets_scheduler.h b/components/ntp_snippets/ntp_snippets_scheduler.h |
index a2a4b42547ac33adb3b31982ed5c9e1bf1ebb1e0..1b9517c3b20f7a0f69217819d113c50ad1f5c0f5 100644 |
--- a/components/ntp_snippets/ntp_snippets_scheduler.h |
+++ b/components/ntp_snippets/ntp_snippets_scheduler.h |
@@ -13,16 +13,13 @@ namespace ntp_snippets { |
// Interface to schedule the periodic fetching of snippets. |
class NTPSnippetsScheduler { |
public: |
- // Schedule periodic fetching of snippets, with different period depending on |
- // network state, and also set up a delay after which the periods may change. |
- // The concrete implementation should call |
- // NTPSnippetsService::FetchSnippets once per period, and |
- // NTPSnippetsService::RescheduleFetching at |reschedule_time|. |
- // Any of the values can be zero to indicate that the corresponding task |
+ // Schedule periodic fetching of snippets, with different periods depending on |
+ // network state. The concrete implementation should call |
+ // NTPSnippetsService::FetchSnippets once per period. |
+ // Any of the periods can be zero to indicate that the corresponding task |
// should not be scheduled. |
virtual bool Schedule(base::TimeDelta period_wifi, |
- base::TimeDelta period_fallback, |
- base::Time reschedule_time) = 0; |
+ base::TimeDelta period_fallback) = 0; |
// Cancel any scheduled tasks. |
virtual bool Unschedule() = 0; |