commit | a98a07799a62716fb0952ba2db791abc26eceb74 | [log] [tgz] |
---|---|---|
author | renkens <renkens@google.com> | Tue Dec 24 13:30:34 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 24 13:30:34 2024 |
tree | 4a11096c6890c9e154e196cca0773419b7e11b45 | |
parent | 892a125d752a4685b209fffe5bb8801c577618c8 [diff] |
Fix issue with mounting ShareCache filesystem for multiprofiles. With two (or more) profiles we have two different ShareCache systems (u-id_1/ShareCache, u-id_2/ShareCache). However, when we try to register them, we use mount_name=ShareCache for both, so the second ShareCache is not registered at all. Add a prefix of profile-hash for ShareCache mount_name. With std::make_unique<TestingProfile>() we cannot get all features for multi profile, in that case we should use TestingProfileManager in tests. Change-Id: I916c979beba5807236fc6e8e356a9aef5fc5b078 Bug: 321577947 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6097929 Commit-Queue: Daniil Hrybchuk <renkens@google.com> Reviewed-by: Ben Reich <benreich@chromium.org> Reviewed-by: Austin Tankiang <austinct@chromium.org> Cr-Commit-Position: refs/heads/main@{#1400042}
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.