Chromium Code Reviews
DescriptionGetAccountIdFromProfile() should not return an empty account id if a valid profile is provided.
On Chrome OS, we don't end the session immediately if a refresh token is revoked in the session. Thus it's possible that we get an empty account id for a profile from Profile::GetProfileUserName(). We should avoid this scenario on Chrome OS.
BUG=602807, 532535
Committed: https://crrev.com/d2a0bb5307f8d0d09aff9d5d531dd9704fe85841
Cr-Commit-Position: refs/heads/master@{#392133}
Patch Set 1 #Patch Set 2 : Fix the failed trybots. #
Total comments: 1
Patch Set 3 : Address skuhne@'s comment. #Patch Set 4 : Add unittest. Rebase #Patch Set 5 : Rebase #Patch Set 6 : Replace scoped_ptr with std::unique_ptr #
Total comments: 4
Patch Set 7 : Address rogerta@'s comments. Rebase #Messages
Total messages: 39 (12 generated)
|