Sign-in helper for the account chooser.
commite4f86d4fe91f102a64bf4b536f94a65e8ebdcccc
authoraruslan@chromium.org <aruslan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 27 Mar 2013 07:30:38 +0000 (27 07:30 +0000)
committeraruslan@chromium.org <aruslan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 27 Mar 2013 07:30:38 +0000 (27 07:30 +0000)
tree8cc96c2a082146b9a51d6f0778e10a2793224a0d
parent14f5d0eb97e1b913fb45b188fd650610f9011123
Sign-in helper for the account chooser.

The helper
- Performs passive sign-in via the Online Wallet passive auth.
- Performs sign-in with LSID+SID for Android.
- Retrieves the information about the currently signed-in user

The helper uses
- Toolbar GetAccountInfo API to fetch the currently signed-in user name,
- Online Wallet PassiveAuth API to attempt to passively sign-in the user, and
- Gaia TokenAuth API to sign-in the user given user's LSID+SID from Android.

BUG=166717,171528

Review URL: https://chromiumcodereview.appspot.com/12810009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190847 0039d316-1c4b-4281-b951-d872f2087c98
chrome/chrome_browser.gypi
chrome/chrome_tests_unit.gypi
components/autofill/browser/DEPS
components/autofill/browser/wallet/wallet_signin_helper.cc [new file with mode: 0644]
components/autofill/browser/wallet/wallet_signin_helper.h [new file with mode: 0644]
components/autofill/browser/wallet/wallet_signin_helper_delegate.h [new file with mode: 0644]
components/autofill/browser/wallet/wallet_signin_helper_unittest.cc [new file with mode: 0644]