[Background Fetch] Handle start-up resumption cases
Update the BackgroundFetchDownloadClient to handle the new DownloadService contract. The Background Fetch scheduler will attempt to start all active downloads on start-up. The ones that are actually resuming will be ignored by the client. Since the response metadata and the actual response are propagated in different calls, the response metadata will be propagated twice to account for restarts. This will be fixed in a follow-up CL where all of the information associated with the response will be sent once to the Background Fetch scheduler. Bug: 881314 Change-Id: I4d806c0eec2cb9c35a42da568613fb2d5ede856e Reviewed-on: https://chromium-review.googlesource.com/1227995Reviewed-by:Mugdha Lakhani <nator@chromium.org> Reviewed-by:
Avi Drissman <avi@chromium.org> Reviewed-by:
Peter Beverloo <peter@chromium.org> Commit-Queue: Rayan Kanso <rayankans@chromium.org> Cr-Commit-Position: refs/heads/master@{#593164}
Showing
Please register or sign in to comment