| Index: components/ntp_snippets/remote/remote_suggestions_scheduler.h
|
| diff --git a/components/ntp_snippets/remote/remote_suggestions_scheduler.h b/components/ntp_snippets/remote/remote_suggestions_scheduler.h
|
| index 40eb5fa6bf40a0cf25df1052b9054540472fbe66..109b61bf61f8ba56e3d0b658b97c4f4f8bed786a 100644
|
| --- a/components/ntp_snippets/remote/remote_suggestions_scheduler.h
|
| +++ b/components/ntp_snippets/remote/remote_suggestions_scheduler.h
|
| @@ -29,6 +29,13 @@ class RemoteSuggestionsScheduler {
|
| // because history gets cleared (and we must not show them any more).
|
| virtual void OnHistoryCleared() = 0;
|
|
|
| + // Returns true if quota is available for another request.
|
| + virtual bool AcquireQuotaForInteractiveFetch() = 0;
|
| +
|
| + // Called whenever the remote suggestions provider finishes an interactive
|
| + // fetch (with provided |fetch_status|).
|
| + virtual void OnInteractiveFetchFinished(Status fetch_status) = 0;
|
| +
|
| // External triggers to consider fetching content suggestions.
|
|
|
| // Called whenever chrome is started warm or the user switches to Chrome.
|
|
|