• sauski's avatar
    Change generated PW leak pref to query for unconsented primary accounts · 73854bbd
    sauski authored
    Previously the generated password leak preference queried for sync
    consented primary accounts to confirm whether the PW leak feature was
    active.
    
    This is incorrect and the passwords leak detection feature does not
    require a sync consent (only a functioning sync service and a primary
    account).
    
    CL also simplifies the front end logic for deciding whether the
    additional text is added to the PW leak detection toggle sublabel,
    removing the requirement for the security page to observe the sync
    state directly.
    
    Bug: 1156264
    Change-Id: I091459fc47f4d07d3923bbfdf9fb7e4a49246512
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2611257
    Commit-Queue: Theodore Olsauskas-Warren <sauski@google.com>
    Reviewed-by: default avatarJan Wilken Dörrie <jdoerrie@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#841525}
    73854bbd
security_page.html 7.13 KB