| 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 7a42b470380d3f19fd62a980ab963c62045d6e47..d0639cbdb97fc33a99b1ea3babd86b20dd5102ae 100644
|
| --- a/components/ntp_snippets/remote/scheduling_remote_suggestions_provider.h
|
| +++ b/components/ntp_snippets/remote/scheduling_remote_suggestions_provider.h
|
| @@ -114,6 +114,7 @@ class SchedulingRemoteSuggestionsProvider final
|
| base::TimeDelta interval_persistent_wifi;
|
| base::TimeDelta interval_persistent_fallback;
|
| base::TimeDelta interval_soft_on_usage_event;
|
| + base::TimeDelta interval_soft_on_ntp_opened;
|
| };
|
|
|
| enum class TriggerType;
|
| @@ -137,7 +138,7 @@ class SchedulingRemoteSuggestionsProvider final
|
|
|
| // Checks whether it is time to perform a soft background fetch, according to
|
| // |schedule|.
|
| - bool ShouldRefetchInTheBackgroundNow();
|
| + bool ShouldRefetchInTheBackgroundNow(TriggerType trigger);
|
|
|
| // Returns whether background fetching (for the given |trigger|) is disabled.
|
| bool BackgroundFetchesDisabled(TriggerType trigger) const;
|
|
|