Add testability requirements for DHv2
In order to properly test download home V2 from a Coordinator standpoint, we need to support building/passing in the following parameters: - Whether or not to use the legacy download path (which queries DownloadManagerService/native code that we don't want). - Whether or not to use the legacy download thumbnail path (which queries disk/native code that we don't want). - Letting tests mock out the OfflineContentProvider for a Profile. Getting rid of the legacy code path for these tests is okay because production code will soon do the same once the old code path is fully deprecated. Change-Id: I59784bc53c76b22a81fe6c4f7d43ec43ff7da298 Reviewed-on: https://chromium-review.googlesource.com/c/1277915Reviewed-by:Xing Liu <xingliu@chromium.org> Commit-Queue: David Trainor <dtrainor@chromium.org> Cr-Commit-Position: refs/heads/master@{#600487}
Showing
Please register or sign in to comment