commit | 7045aadf87e1cbbaaf842b44eb32c67df22a5365 | [log] [tgz] |
---|---|---|
author | Yue Zhang <yuezhanggg@chromium.org> | Thu Dec 19 00:08:50 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 19 00:08:50 2024 |
tree | b4e0685f967a2278d0c5e049116dbd9eacda6807 | |
parent | 9ab3d7a2291a3c3a3f1f108329d395c9f913786d [diff] |
[Fixit][CodeHealth] Initialize PrefService for MockAccountChecker PrefService is non-null in actual AccountChecker but null by default in MockAccountChecker. This CL gives the MockAccountChecker a default PrefService so that test suites that want to use MockAccountChecker but don't care about PrefService won't need to explicitly initialize it themselves. Bug: 383137544 Change-Id: Id70ea57c71145dc1b9f82658707dca65b4b7e5ad Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6099066 Reviewed-by: Matthew Jones <mdjones@chromium.org> Commit-Queue: Yue Zhang <yuezhanggg@chromium.org> Cr-Commit-Position: refs/heads/main@{#1398311}
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.