Add recovery pipeline for DownloadDriver

Desktop / Chromium - David Trainor [chromium.org] - 13 July 2017 23:00 EDT

Add the infrastructure for a DownloadDriver recovery flow. This CL doesn't actually perform any cleanup or recovery of a DownloadDriver, but it just returns success. Implementing the actual recovery code will be included in a follow up, but this allows us to implement the DownloadService comprehensive recovery code without blocking on the implementation of this component in particular.

BUG=736222

Change-Id: Ibbbb8d64b5114593404339d514bafb8b7d984a9b Reviewed-on: https://chromium-review.googlesource.com/569073 Commit-Queue: Xing Liu

43ea8e9 Add recovery pipeline for DownloadDriver
components/download/content/internal/BUILD.gn | 1 +
.../content/internal/download_driver_impl.cc | 11 +++++++++++
.../content/internal/download_driver_impl.h | 3 +++
.../internal/download_driver_impl_unittest.cc | 22 +++++++++++++++++++++-
components/download/internal/controller_impl.cc | 2 ++
components/download/internal/controller_impl.h | 1 +
components/download/internal/download_driver.h | 8 ++++++++
.../download/internal/test/test_download_driver.cc | 7 +++++++
.../download/internal/test/test_download_driver.h | 2 ++
9 files changed, 56 insertions(+), 1 deletion(-)

Upstream: git.chromium.org


  • Share