• Martin Kreichgauer's avatar
    Update counter for "passwords and other sign-in data" in browsing data deletion · 0c05f13e
    Martin Kreichgauer authored
    This changes the counter sublabel for the "passwords and other sign-in
    data" item in the browsing data deletion dialog to include the number of
    WebAuthn credentials stored by authenticators built into Chrome
    (currently this is only the Touch ID authenticator on macOS).
    
    The format is:
    - "None" if neither passwords nor WebAuthn credentials are present
    - the counter label for passwords or WebAuthn credentials if only one of
    them is present. E.g., "1 password" or "sign-in data for 3 accounts".
    - both counter labels separated by "; " if both are present. E.g., "2
    passwords (synced); sign-in data for 1 account".
    
    Note that while passwords can be synced, WebAuthn credentials cannot.
    
    Bug: 879548
    Change-Id: I4ea5035841192fce6e185fa4fa4b077986bed041
    Reviewed-on: https://chromium-review.googlesource.com/1246822Reviewed-by: default avatarChristian Dullweber <dullweber@chromium.org>
    Commit-Queue: Martin Kreichgauer <martinkr@google.com>
    Cr-Commit-Position: refs/heads/master@{#595960}
    0c05f13e
signin_data_counter.cc 1.47 KB