Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(630)

Issue 8801023: Fix detection of default G+ profile picture (Closed)

Created:
9 years ago by sail
Modified:
9 years ago
Reviewers:
Ivan Korotkov
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

Fix 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -14 lines) Patch
M chrome/browser/profiles/profile_downloader.cc View 1 2 2 chunks +3 lines, -12 lines 0 comments Download
M chrome/browser/profiles/profile_downloader_unittest.cc View 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
sail
9 years ago (2011-12-05 20:31:42 UTC) #1
Ivan Korotkov
LGTM http://codereview.chromium.org/8801023/diff/1/chrome/browser/profiles/profile_downloader.cc File chrome/browser/profiles/profile_downloader.cc (right): http://codereview.chromium.org/8801023/diff/1/chrome/browser/profiles/profile_downloader.cc#newcode189 chrome/browser/profiles/profile_downloader.cc:189: // There are at least two pairs of ...
9 years ago (2011-12-06 08:51:12 UTC) #2
sail
http://codereview.chromium.org/8801023/diff/1/chrome/browser/profiles/profile_downloader.cc File chrome/browser/profiles/profile_downloader.cc (right): http://codereview.chromium.org/8801023/diff/1/chrome/browser/profiles/profile_downloader.cc#newcode189 chrome/browser/profiles/profile_downloader.cc:189: // There are at least two pairs of (ID, ...
9 years ago (2011-12-06 18:28:12 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/8801023/7001
9 years ago (2011-12-06 18:29:10 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/8801023/7001
9 years ago (2011-12-07 19:26:53 UTC) #5
commit-bot: I haz the power
Try job failure for 8801023-7001 (retry) on linux_rel for step "ui_tests". It's a second try, ...
9 years ago (2011-12-07 20:43:18 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/8801023/7001
9 years ago (2011-12-07 21:16:17 UTC) #7
commit-bot: I haz the power
9 years ago (2011-12-07 22:34:51 UTC) #8
Change committed as 113487

Powered by Google App Engine
This is Rietveld 408576698