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

Issue 1127113003: Don't try to download 'NothingToDownload' placeholder avatar. (Closed)

Created:
5 years, 7 months ago by emaxx
Modified:
5 years, 7 months ago
Reviewers:
Mike Lerman
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't try to download 'NothingToDownload' placeholder avatar. Fix ProfileInfoCache behaviour when it tried to download the non-existing "NothingToDownload" placeholder profile avatar from the Web, instead of just loading it from the resources. BUG=486854 Committed: https://crrev.com/0cb195713ef380397be9ff4d13080cdd10d0d10f Cr-Commit-Position: refs/heads/master@{#330397}

Patch Set 1 #

Patch Set 2 : Fix tests. #

Total comments: 6

Patch Set 3 : Clarify the comments a bit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -49 lines) Patch
M chrome/browser/profiles/profile_avatar_icon_util.h View 2 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/profiles/profile_avatar_icon_util.cc View 1 5 chunks +33 lines, -38 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache.cc View 1 2 3 chunks +15 lines, -7 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache_unittest.cc View 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
emaxx
Hi Michael, please have a look at this review. Apart from fixing the issue with ...
5 years, 7 months ago (2015-05-12 11:47:20 UTC) #2
Mike Lerman
There are a few other places that need to do the necessary checks, such as ...
5 years, 7 months ago (2015-05-12 19:59:12 UTC) #3
emaxx
https://codereview.chromium.org/1127113003/diff/20001/chrome/browser/profiles/profile_avatar_icon_util.cc File chrome/browser/profiles/profile_avatar_icon_util.cc (right): https://codereview.chromium.org/1127113003/diff/20001/chrome/browser/profiles/profile_avatar_icon_util.cc#newcode349 chrome/browser/profiles/profile_avatar_icon_util.cc:349: DCHECK(index != kPlaceholderAvatarIcon); On 2015/05/12 19:59:12, Mike Lerman wrote: ...
5 years, 7 months ago (2015-05-13 12:08:16 UTC) #4
Mike Lerman
Yes - thanks for helping me think through this. Just add a couple of extra ...
5 years, 7 months ago (2015-05-13 20:54:00 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1127113003/40001
5 years, 7 months ago (2015-05-18 17:07:13 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-05-18 20:23:05 UTC) #9
commit-bot: I haz the power
5 years, 7 months ago (2015-05-18 22:41:55 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0cb195713ef380397be9ff4d13080cdd10d0d10f
Cr-Commit-Position: refs/heads/master@{#330397}

Powered by Google App Engine
This is Rietveld 408576698