Files
brave-core/components
Claudio DeSouza d044e6ecc7 [cr148] AccountConsistencyMethod dropped from auth token
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/63307d4b1d2659d399b608c54ff3fa223260e711

commit 63307d4b1d2659d399b608c54ff3fa223260e711
Author: Alex Ilin <alexilin@chromium.org>
Date:   Mon Mar 16 08:28:59 2026 -0700

    [signin] Deprecate account_consistency in MutablePO2TSDelegate

    This CL removes the account_consistency parameter from the
    IdentityManager initialization flow and specifically from the
    MutableProfileOAuth2TokenServiceDelegate.

    MutableProfileOAuth2TokenServiceDelegate is only used on Desktop
    platforms that use kDice account consistency, so the code can always
    assume that kDice is being used.

    account_consistency could be set to `kDisabled` when Chrome sign-in
    isn't allowed. However, in this case Chrome will automatically remove
    all accounts [1] so there is no point for
    MutableProfileOAuth2TokenServiceDelegate to have an extra logic
    preserving only primary but not secondary accounts in this case.

    [1] https://crsrc.org/c/chrome/browser/signin/accounts_policy_manager.cc;drc=75bd37cd98d8654e740d5b267c1be6fbf81c6ede;l=279

    Fixed: 487335996
    Change-Id: I0dc317f40a384b0db0c5b2511ba9182a5663ad4b
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7654078
    Reviewed-by: Monica Salama <msalama@chromium.org>
    Auto-Submit: Alex Ilin <alexilin@chromium.org>
    Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
    Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1599910}
2026-04-27 12:00:48 +01:00
..
2026-04-21 10:07:34 +01:00