Move InProgressDownloadManager creation logic into DownloadManagerUtils
Currently InProgressDownloadManager is created in DownloadManagerImpl. However, for content layer, we don't need to create the in-progress DB. As a result, This CL move InProgressDownloadManager creation to Chrome layer, it also allows us to construct the SimpleFactoryKey from the profile, which can later be used to create the SimpleDownloadManagerCoordinator. BUG=942770 Change-Id: I8f020f2685dd0d6972c56ab1225b440c3c73051b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1555010Reviewed-by:Mihai Sardarescu <msarda@chromium.org> Commit-Queue: Min Qin <qinmin@chromium.org> Cr-Commit-Position: refs/heads/master@{#648745}
Showing
Please register or sign in to comment