Avoid useless fetches of user ID from GCM account tracker.
For every account available in the account tracker service, both the Gaia ID and the email are available. The GCM AccountTracker was fetching again the gaia ID from the server on every start-up and every time a new account was added to the profile. This CL removes this useless fetch and changed the GCM AccountTracker to reuse the information already available in the IdentityManager. Additional clean-up to completely remove the GCM AccountTracker would also be good, but I do not know this code well enough to do this cleanup. Fixed: 1028522 Change-Id: I77790a3203a94ea8c7baf19ca0eb2449b096b630 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1944492Reviewed-by:Colin Blundell <blundell@chromium.org> Commit-Queue: Mihai Sardarescu <msarda@chromium.org> Cr-Commit-Position: refs/heads/master@{#720515}
Showing
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment