
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}
Chrome
This directory contains the open source, application layer of Google Chrome.
Unlike other parts of Chromium like //content, which provide framework intended to support multiple products, this directory contains code that is focused on building specific products with opinionated UX.
Specific products include:
- Chrome desktop browser for Chrome OS, Windows, Mac and Linux
- Chrome mobile browser for Android
- Chrome OS system UI
See //ios/chrome for the Chrome mobile browser for iOS, and note that code that is shared between //chrome and //ios/chrome is typically factored out into //components.