Seed the account tracker with gaia_id/email before performing sign in.
commitba751c0390ada12af154eb459a0091ae568cc0c7
authorrogerta <rogerta@chromium.org>
Mon, 10 Nov 2014 16:10:31 +0000 (10 08:10 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 10 Nov 2014 16:10:55 +0000 (10 16:10 +0000)
treef6b2ea945182799e9cd9f57bd614909e6322d2f9
parent2d36d9f85f28b77e68750dfa46ce6f0185da0f7e
Seed the account tracker with gaia_id/email before performing sign in.

This CL is part of moving chrome to using gaia ids to unique identity google accounts internally instead of using email address, since the later can change over the life of an account and because there are different normalizations of the email, which makes comparisons difficult.

When chrome finally switches over, it needs a way to map gaia ids to show in UI.  For this reason, making sure the mapping exists before sign-in happens is important.

This CL represents step 5 in my design doc for this migration:
https://docs.google.com/a/google.com/document/d/1WIXhEalgwvp3ouG4uTLy8YQOeqxa_zPHsv6wtBu3kWQ/edit#

BUG=341408

Review URL: https://codereview.chromium.org/705603004

Cr-Commit-Position: refs/heads/master@{#303475}
chrome/android/java/src/org/chromium/chrome/browser/signin/AccountIdProvider.java [new file with mode: 0644]
chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java
chrome/browser/android/signin/signin_manager_android.cc
chrome/browser/android/signin/signin_manager_android.h
components/signin/core/browser/account_tracker_service.cc