commit | 463e0d9ddee2a048c8b67d11251bba0f63c3b1de | [log] [tgz] |
---|---|---|
author | Lily Chen <chlily@chromium.org> | Wed Mar 12 21:25:50 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 12 21:25:50 2025 |
tree | 697a86896fa92c1a3f1f86ff9ec00e9026e55f53 | |
parent | e2e7f23f6e2b629d8c10f69fc53e8dee0cba01b5 [diff] |
[MaliciousApkDownloadCheck] Specify sampled ping behavior This is part 2 of 6 of relanding code that was originally landed in crrev.com/c/6309053 but was reverted. This CL adds methods to the DownloadProtectionDelegate interface to allow the delegate to specify platform-specific behavior for 1) sampled pings for allowlisted downloads, and 2) sampled pings for unsupported file types. For Android download protection, these are both disabled: 1) sampling allowlisted downloads does not yet make sense because the allowlist check is not yet implemented for Android download protection (it will be in the future); 2) sampled pings for unsupported file types are not supported. There is no behavior change for download protection on desktop platforms. Bug: 397407934 Change-Id: Id61a148fa6a2a88ada60c05a4193510fa01c532d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6341930 Commit-Queue: Lily Chen <chlily@chromium.org> Reviewed-by: Daniel Rubery <drubery@chromium.org> Cr-Commit-Position: refs/heads/main@{#1431755}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.