commit | ba4324b8e63930d2eee07e5af49e67964f3f3822 | [log] [tgz] |
---|---|---|
author | Ankush Singh <ankushkush@google.com> | Fri Dec 13 23:26:26 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 13 23:26:26 2024 |
tree | b7d5d260285d56487edfdf66d59854ccca640ffd | |
parent | 345f1dd60c882a0fe899f4fa463fc156184c69be [diff] |
Unfriend TemplateURLService from TemplateURL and encapsulate account val This CL achieves the following two goals: This CL encapsulates `account_data_` and `local_data_` separately under TemplateURL while letting TemplateURL::data() in the future decide which of the two value is currently active (right now it directly returns the local value to maintain the current behavior). Currently, TemplateURLService is a friend of TemplateURL and uses the underlying data members directly. This disallows controlling which data (local or account) does the TemplateURLService operates on. This CL unfriends TemplateURLService and forces it to go via the public interface. Bug: 374903497 Change-Id: Ia4359045ce78fbf5d6a91e73cae02bb559f33f42 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6078131 Reviewed-by: Angela Yoeurng <yoangela@chromium.org> Auto-Submit: Ankush Singh <ankushkush@google.com> Commit-Queue: Angela Yoeurng <yoangela@chromium.org> Cr-Commit-Position: refs/heads/main@{#1396238}
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.