commit | a9b28f009b428e35846a509eceb099cd6a5c8bb0 | [log] [tgz] |
---|---|---|
author | Mihai Sardarescu <msarda@chromium.org> | Fri Nov 10 17:09:12 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Nov 10 17:09:12 2023 |
tree | 716e05579fce27ec3df9cc9729430a6afc5c0eb5 | |
parent | 4d0de4742be921640aeb08dc351b1ec4e6d16c41 [diff] |
Introduce a struct that holds primary account info and sync consent. This CL ensures that the primary account and sync consent levels are not used before the PrimaryAccountManager is initialized. To achieve this, it introduces a PrimaryAccount structure that holds both the primary account info and the sync consent boolean. It can then check it that the primary account is indeed initialized before ever using it. Bug: 1494295 Change-Id: I9f97794682de00917407d4f7a5120b98a6438366 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4974326 Commit-Queue: Mihai Sardarescu <msarda@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Auto-Submit: Mihai Sardarescu <msarda@chromium.org> Reviewed-by: Boris Sazonov <bsazonov@chromium.org> Cr-Commit-Position: refs/heads/main@{#1222988}
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.