commit | 153ab68741786276ee86ff25e07d020c3aee43e6 | [log] [tgz] |
---|---|---|
author | Nathan Memmott <memmott@chromium.org> | Fri Sep 20 21:31:34 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 20 21:31:34 2024 |
tree | 11acfd8772b3a35d3d663b9872bd6cc8225e3b51 | |
parent | 3c8122d46835b0a20d1bf6768935d19abfe2e0b2 [diff] |
FSA: Move IsSafePathComponent to FSA Manager Moves IsSafePathComponent to FSA Manager and makes it non-static. This is a refactor in preparation to make IsSafePathComponent check the Danger type. We will need access to the ChromeFileSystemAccessPermissionContext which will mean this function can no longer be static. And keeping it in FileSystemAccessDirectoryHandleImpl would mean always needing to call IsSafePathComponent on an instance of it. Which both doesn't make sense and isn't always possible. So this moves it to the FSA Manager. Bug: 40062534 Change-Id: I41bf3902bb6e05ab04343c8f5435e56e612dc772 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5875188 Commit-Queue: Nathan Memmott <memmott@chromium.org> Reviewed-by: Christine Hollingsworth <christinesm@chromium.org> Cr-Commit-Position: refs/heads/main@{#1358389}
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.