Description[Profiles] Improve the display name for default profiles.
If a profile is signed in, but has a default name (because this is after
enabling the new profiles UI but the Gaia profile name hasn't been downloaded)
display the email address rather than the default profile name.
It's one step better.
BUG=412809
TEST=Start Chrome with an empty user data dir and
--disable-new-avatar-menu. Create two profiles, and sign one of them in
with a profile that has a clean sync (or reset the sync data after signin).
Make sure that the last active profile is the *not* signed in one
(so close all the browser windows for the signed in profile). Restart Chrome
with --enable-new-avatar-menu. You should be in the local profile. Choose "Switch
person" from the avatar menu. The user manager should display the other profile's
email address in the pod. Once you launch that profile, the name should update to
the gaia name.
Committed: https://crrev.com/c929946b5b10c2cbaadfa49cd713da3c4e439ac5
Cr-Commit-Position: refs/heads/master@{#295166}
Patch Set 1 #
Total comments: 2
Patch Set 2 : fix test + typo #
Messages
Total messages: 10 (3 generated)
|