Migrate avatar icon accessors to ProfileAttributesStorage
GetAvatarIcon, GetAvatarIconIndex, SetAvatarIconIndex, and GetHighResAvatar are migrated to ProfileAttributesEntry. Old accessors are still here (with some extra comment) because they are still used by ProfileInfoCache tests. Two high-res avatar tests are migrated and one test about avatar icon index is added. An existing observer notifier method in ProfileAttributesStorage is changed because it was not good enough. Bug: 305720 Change-Id: I93b3e765cd1131f7ddb905c884db6d23390786bb Reviewed-on: https://chromium-review.googlesource.com/694062Reviewed-by:anthonyvd <anthonyvd@chromium.org> Commit-Queue: WC Leung <lwchkg@chromium.org> Cr-Commit-Position: refs/heads/master@{#505876}
Showing
Please register or sign in to comment