
This reverts commitf2f9937793
. Reason for revert: Tree closure Original change's description: > Implement DownloadProtectionDelegateAndroid > > Instantiates DownloadProtectionService on Android, with Android > specific download protection logic supplied by a delegate. > > Also adds: > * A FeatureParam to allow overriding the default service URL. > * Random sampling of eligible downloads, controlled by a FeatureParam. > * An UMA histogram to track the Android download protection outcome. > * Disables sampling allowlisted downloads and sampling unsupported file > types, which are done on desktop platforms. > * Explicitly disables the URL blocklist check (will not be implemented > for Android download protection) and URL allowlist check (will be > implemented later). > > Binary size increase: Unavoidable, needed for MaliciousApkDownloadCheck. > Of the 52 kB increase, 28 kB is due to addition of native code in > several files in //c/b/safe_browsing/download_protection. > Another 15 kB is generated by the ClientDownloadRequest protobuf. > > Binary-Size: Size increase is unavoidable (see above). > Bug: 397407934 > Change-Id: I4466c8addc262465eadd8be087f2d5f63b2418c5 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6309053 > Auto-Submit: Lily Chen <chlily@chromium.org> > Commit-Queue: Daniel Rubery <drubery@chromium.org> > Reviewed-by: Min Qin <qinmin@chromium.org> > Reviewed-by: Daniel Rubery <drubery@chromium.org> > Reviewed-by: Chris Mullins <crmullins@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1427239} (cherry picked from commit0e6910a1dd
) Bug: 397407934 Fixed: 404253282 No-Presubmit: true No-Tree-Checks: true No-Try: true Change-Id: I95193ae04168c5a56fbd66ee467a3140b0f7de45 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6318880 Commit-Queue: Steven Luong <stluong@chromium.org> Owners-Override: Steven Luong <stluong@chromium.org> Auto-Submit: Steven Luong <stluong@chromium.org> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Original-Commit-Position: refs/heads/main@{#1427269} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6361798 Owners-Override: Harry Souders <harrysouders@google.com> Reviewed-by: Min Qin <qinmin@chromium.org> Reviewed-by: Daniel Rubery <drubery@chromium.org> Auto-Submit: Lily Chen <chlily@chromium.org> Commit-Queue: Harry Souders <harrysouders@google.com> Cr-Commit-Position: refs/branch-heads/7049@{#929} Cr-Branched-From: 2dab7846d0951a552bdc4f350dad497f986e6fed-refs/heads/main@{#1427262}
Tools used during the build or running tests or sometimes just things that people have found useful while working on Chromium.