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

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

Issue 2599743002: Trigger the Snippets Scheduler when Resuming Activities (Closed)
Patch Set: Two separate signals instead of boolean value. Created 3 years, 11 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/remote/scheduling_remote_suggestions_provider.h
diff --git a/components/ntp_snippets/remote/scheduling_remote_suggestions_provider.h b/components/ntp_snippets/remote/scheduling_remote_suggestions_provider.h
index 71dd4f8c487c1db86a7047cb25e4d82576a603d7..2172e3083c0bdb397dbf1a63b1af5dbb59046ff4 100644
--- a/components/ntp_snippets/remote/scheduling_remote_suggestions_provider.h
+++ b/components/ntp_snippets/remote/scheduling_remote_suggestions_provider.h
@@ -64,7 +64,8 @@ class SchedulingRemoteSuggestionsProvider final
// RemoteSuggestionsScheduler implementation.
void RescheduleFetching() override;
void OnPersistentSchedulerWakeUp() override;
- void OnBrowserStartup() override;
+ void OnBrowserForegrounded() override;
+ void OnBrowserColdStart() override;
void OnNTPOpened() override;
// RemoteSuggestionsProvider implementation.

Powered by Google App Engine
This is Rietveld 408576698