Convert BackgroundFetchDelegateImpl to use DownloadService
Creates a new download::Client, BackgroundFetchDownloadClient, which
forwards calls to the BackgroundFetchDelegateImpl.
Bug: 758562
Change-Id: I8fa30334b41713b1e1d9952448c521ae547bfc2d
Reviewed-on: https://chromium-review.googlesource.com/663718
Commit-Queue: Peter Beverloo <[email protected]>
Reviewed-by: Avi Drissman <[email protected]>
Reviewed-by: John Mellor <[email protected]>
Reviewed-by: David Trainor <[email protected]>
Cr-Commit-Position: refs/heads/master@{#505230}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index b112aca..0e43393 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -102,6 +102,8 @@
"background_fetch/background_fetch_delegate_factory.h",
"background_fetch/background_fetch_delegate_impl.cc",
"background_fetch/background_fetch_delegate_impl.h",
+ "background_fetch/background_fetch_download_client.cc",
+ "background_fetch/background_fetch_download_client.h",
"background_sync/background_sync_controller_factory.cc",
"background_sync/background_sync_controller_factory.h",
"background_sync/background_sync_controller_impl.cc",