commit | 7625f9a8a8b355fc95fd701c08e970a6ca6c7cf8 | [log] [tgz] |
---|---|---|
author | Min Qin <qinmin@chromium.org> | Thu Jun 23 19:29:23 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 23 19:29:23 2022 |
tree | f36e6dccdec528ddd1cf428d74f8d80b90946b9d | |
parent | bfd1ec4f3f9ab86d103cf2030dd74437fc5d3431 [diff] |
Don't migrate download path if it is already under MyFiles dir If the download path is already under MyFiles, there is no need to migrate the dir as it will only append more subdirs if the old_base is not set properly. For example, old_base is "/home/chronos/user", while MyFiles dir is "/home/chronos/user/MyFiles", calling this method on an old_path "/home/chronos/user/MyFiles/Download" will return "/home/chronos/user/MyFiles/MyFiles/Download". BUG=b:236659908 Change-Id: Ia780b81e1bfb78e2f26bbe4cd7aa52436ba481c9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3721084 Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Min Qin <qinmin@chromium.org> Cr-Commit-Position: refs/heads/main@{#1017297}
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.