commit | d3829161f3ab72f6173f69e05e43da3eb2a8069e | [log] [tgz] |
---|---|---|
author | Ben Reich <benreich@chromium.org> | Wed Jun 01 13:38:05 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 01 13:38:05 2022 |
tree | 4a8615621cd58fc5d2d894d7aaac5fe144764c7e | |
parent | 17b8ed2cf35c6727061fa1157cdf99f74374fef5 [diff] |
[FilesTrash] Enable Crostini support for TrashIOTask Currently the JS version of FilesTrash supports trashing in Crostini. To ensure parity with the IOTask version, enable support in the TrashIOTask. Crostini follows a slightly different Trash naming convention, instead of a folder name residing in the parent path it uses .local/share/Trash (which is XDG compliant). To ensure it works, convert the folder name from a const char to using a base::FilePath. Bug: b:231830443 Test: unit_tests --gtest_filter=*TrashIOTask* Change-Id: Idc113f5a36dd588c0235196c1043e22b8e5dac9d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3671851 Reviewed-by: Luciano Pacheco <lucmult@chromium.org> Commit-Queue: Ben Reich <benreich@chromium.org> Cr-Commit-Position: refs/heads/main@{#1009570}
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.