[Dice] UserPolicySigninService should start when the user signs in.
If the token service has already a refresh token for the authenticated account before this account is signed in to Chrome, then |OnRefreshToken| notification will not be called after |GoogleSigninSucceeded|. This CL changes the UserPolicySigninService to handle the case when the refresh token is already present when |GoogleSigninSucceeded| is fired. See bug for the link to the design document. Bug: 733226 Change-Id: I17e3ef8285b4012e125951c5a38e1851a09c9c9a Reviewed-on: https://chromium-review.googlesource.com/559538 Commit-Queue: Mihai Sardarescu <msarda@chromium.org> Reviewed-by:Julian Pastarmov <pastarmovj@chromium.org> Cr-Commit-Position: refs/heads/master@{#486008}
Showing
Please register or sign in to comment