| Index: components/ntp_snippets/remote/remote_suggestions_scheduler_impl.cc
|
| diff --git a/components/ntp_snippets/remote/remote_suggestions_scheduler_impl.cc b/components/ntp_snippets/remote/remote_suggestions_scheduler_impl.cc
|
| index 699c3b5a246cbceafee6b7c8c5cd0355eb9bd183..e83531a65f9e76002db273dcfda3151963f531ac 100644
|
| --- a/components/ntp_snippets/remote/remote_suggestions_scheduler_impl.cc
|
| +++ b/components/ntp_snippets/remote/remote_suggestions_scheduler_impl.cc
|
| @@ -174,8 +174,10 @@ class EulaState : public web_resource::EulaAcceptedNotifier::Observer {
|
|
|
| // EulaAcceptedNotifier::Observer implementation.
|
| void OnEulaAccepted() override {
|
| - // Emulate a browser foregrounded event.
|
| - scheduler_->OnBrowserForegrounded();
|
| + // Emulate a persistent fetch - we really want to fetch, initially!
|
| + // TODO(jkrcal): Find a cleaner solution. This is somewhat hacky and can
|
| + // mess up with metrics.
|
| + scheduler_->OnPersistentSchedulerWakeUp();
|
| }
|
|
|
| private:
|
|
|