Chromium Code Reviews
Description[Reland] GetAccountIdFromProfile() should not return an empty account id if a valid profile is provided.
This is a reland of https://codereview.chromium.org/1880923003/.
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
TBR=thakis@chromium.org, rogerta@chromium.org, skuhne@chromium.org
Committed: https://crrev.com/d2a0bb5307f8d0d09aff9d5d531dd9704fe85841
Cr-Commit-Position: refs/heads/master@{#392133}
Committed: https://crrev.com/8a874a3155e9437511648e77acac3f8df0802de5
Cr-Commit-Position: refs/heads/master@{#393895}
Patch Set 1 #Messages
Total messages: 5 (2 generated)
|