[GID] Add "User" settings category, workaround profile image size issue
In this change: - Added "User" category to Sync and Services preference. The category is gated by identity-disc flag. Mocks: http://slides/1dckRy0Dm5-fOQebZvZyL6CBm2DWCKYppkuOinEORDR4#slide=id.g5615bd983f_0_157 Screenshot: http://screen/d0uaYAhJ016 - Implemented workaround for crbug.com/963077. The effect of the bug is following: - Visiting settings causes download of larger profile image. - Toolbar's ProfileDataCache receives notification and caches this larger image. - When user returns to NTP, larger profile image is displayed in identity disc. The workaround is to remember image size that was requested for Identity disc and only update toolbar when image with correct size is received. BUG=958982 R=twellington@chromium.org Change-Id: I564f51958bfd473cba30a44baa94f58af1e420d9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1612856 Commit-Queue: Pavel Yatsuk <pavely@chromium.org> Reviewed-by:Theresa <twellington@chromium.org> Cr-Commit-Position: refs/heads/master@{#664351}
Showing
Please register or sign in to comment