commit | 7627c37297fc3bc9283db289b65b2dbcd3f3ed63 | [log] [tgz] |
---|---|---|
author | Ben Reich <benreich@chromium.org> | Thu May 19 07:23:02 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 19 07:23:02 2022 |
tree | 30eb78142099334e126842e93aba3be463d57d3a | |
parent | de8847e40faf4badb68066d98acbe9fb06bb3ae8 [diff] |
[FilesTrash] Assert Trash directory is setup before operation The XDG spec requires the trash directory to exist at .Trash and contains 2 folders one for the actual files and one for the metadata named files and info respectively. Create the directory on the current FileSystemOperationRunner using the CreateDirectory method. On successful completion of this setup we should have the following structure: - .Trash - .Trash/files - .Trash/info Bug: b:231830211 Test: unit_tests --gtest_filter=*TrashIOTask* Change-Id: If2c6f03780d1602c616c04a8c6c45958f7343575 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3631865 Commit-Queue: Ben Reich <benreich@chromium.org> Reviewed-by: Luciano Pacheco <lucmult@chromium.org> Cr-Commit-Position: refs/heads/main@{#1005141}
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.