[Remote suggestions] Retry a fetch when suggestions cleared meanwhile
This CL introduces a retry mechanism in RemoteSuggestionsProvider when suggestions are cleared while a request is in flight. This change does not violate the previous contract that all fetches are triggered by the scheduler. From the point of view of the scheduler, the original fetch and the retry seem as one single fetch. Bug: 802179 Change-Id: I6138e16cc68d2a1f4b93576002ce241829255c18 Reviewed-on: https://chromium-review.googlesource.com/873034 Commit-Queue: Jan Krcal <jkrcal@chromium.org> Reviewed-by:Tim Schumann <tschumann@chromium.org> Cr-Commit-Position: refs/heads/master@{#532913}
Showing
Please register or sign in to comment