-
Rayan Kanso authored
On browser startup we attempt to resume all previously active fetches. The DownloadService might not be ready though, so this change only resumes the fetches if the DownloadService is ready, and also goes through all the jobs and resumes the active fetches once the OnServiceInitialized event is triggered. Note that ResumeDownload might be called twice on the same guid in some cases, but that will not cause any problems since the second call will be ignored. Change-Id: I1d06c944496cd0f1b711ae91d15c003abc70f8c3 Reviewed-on: https://chromium-review.googlesource.com/1152820 Commit-Queue: Rayan Kanso <rayankans@chromium.org> Reviewed-by:
Peter Beverloo <peter@chromium.org> Cr-Commit-Position: refs/heads/master@{#578664}
6e378c90