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

Unified Diff: components/ntp_snippets/remote/remote_suggestions_hard_scheduler.h

Issue 2557363002: [NTP Snippets] Refactor background scheduling for remote suggestions (Closed)
Patch Set: Marc's comments #1 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/remote_suggestions_hard_scheduler.h
diff --git a/components/ntp_snippets/remote/remote_suggestions_hard_scheduler.h b/components/ntp_snippets/remote/remote_suggestions_hard_scheduler.h
index 6487e2f834c5029884be5cef27ee0e827fa8ea8f..830e36801d834fd56030ce43f0f7b7076dc80d84 100644
--- a/components/ntp_snippets/remote/remote_suggestions_hard_scheduler.h
+++ b/components/ntp_snippets/remote/remote_suggestions_hard_scheduler.h
@@ -23,7 +23,7 @@ class RemoteSuggestionsHardScheduler {
virtual bool Schedule(base::TimeDelta period_wifi,
base::TimeDelta period_fallback) = 0;
- // Cancel any scheduled tasks.
+ // Cancel any scheduled tasks. Equivalent to Schedule(0, 0).
virtual bool Unschedule() = 0;
protected:

Powered by Google App Engine
This is Rietveld 408576698