• Monica Basta's avatar
    [Signin]: Change strategy for the profile name and avatar icon. · 0ff942f5
    Monica Basta authored
    The profile name and avatar icon will not be syncable prefs anymore. We
    have decided that the user will need to customize their profile once per
    device if they wish to. We also change the strategy for showing the
    avatar icon of the profile to the following:
    * For profiles that are not signed in, on events like sign in or enable
    sync, Gaia avatar wins.
    * If the user customizes their profile while having a butter account or
    a primary account on this device, the customized avatar wins.
    * If the profile has a butter account A with customized avatar, if the
    user decides to start syncing with account A, the customized avatar
    wins. We do not want to change the state of the profile given that it is
    the same account.
    * If the profile has a butter account A with customized avatar, if the
    user decides to start syncing with account B, the Gaia avatar wins.
    
    Bug: 1013597
    Change-Id: Ic60cca56d31e20a31d010e9f8995a03ca7819623
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1855968
    Commit-Queue: Monica Basta <msalama@chromium.org>
    Reviewed-by: default avatarDavid Roger <droger@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#706062}
    0ff942f5
signin_profile_attributes_updater.cc 3.97 KB