Fix an issue that download service is not working in reduced mode
DownloadDriverImpl::IsReady() checks for whether all downloads are loaded or kUseInProgressDownloadManagerForDownloadService is enabled. However, if the flag is not enabled, we should still allow download service to work in reduced mode. This CL changes the logic to just check whether SimpleDownloadManagerCoordinator is initialized, so that in reduced mode only in-progress download manager initialization is needed. BUG=942770 Change-Id: I556b5ccffabcabb710ef81891b59108906a1ac00 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1635773Reviewed-by:Shakti Sahu <shaktisahu@chromium.org> Commit-Queue: Min Qin <qinmin@chromium.org> Cr-Commit-Position: refs/heads/master@{#664531}
Showing
Please register or sign in to comment