| commit | ff6cb1d3818a06309809da9d0300701ed30c813d | [log] [tgz] |
|---|---|---|
| author | Ryan Sultanem <rsult@google.com> | Mon Mar 17 16:24:54 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 17 16:24:54 2025 |
| tree | a9bda1dcddae4b92dea42a8fb549e225c8884982 | |
| parent | 2b1bf2261d0f00f67aeaf568c312cbf4dd016200 [diff] |
[ProfilePicker][Glic] Fix GlicController returning the picked profile With changes to `glic::GlicEnabling::IsEnabledForProfile()` expecting to get extended account information from the primary account to properly perform its computation, the caller now needs to make sure that the refresh tokens are loaded. To properly support this, after selecting a profile in the Glic version of ProfilePicker, instead of returning it right away, we now first ensure that the refresh tokens are loaded. Otherwise, Glic cannot do much with the profile since it needs the refresh tokens to properly check for eligibility. Fixed: b:399727295 Change-Id: I1ef6c26662932e94d6caa82da3dbbb3424c41ca3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6354971 Reviewed-by: David Roger <droger@chromium.org> Commit-Queue: Ryan Sultanem <rsult@google.com> Cr-Commit-Position: refs/heads/main@{#1433577}
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.