DescriptionFix detection of default G+ profile picture
Currently we assume that any profile picture URL that contains "AAAAAAAAAAI/AAAAAAAAAAA" represents a default profile picture.
It turns out that this is incorrect. There are valid profile pictures with that URL.
With the OAuth user info API we can simply detect default profile pictures by the existance of the "picture" field in the returned data. Accounts with a default profile picture don't have this field.
BUG=106444
TEST=Compiled and verified that unit tests passed.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113487
Patch Set 1 #
Total comments: 2
Patch Set 2 : address code review #Patch Set 3 : branch #Patch Set 4 : rebase #
Messages
Total messages: 8 (0 generated)
|