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

Issue 380643002: Profile picture doesn't display correctly after new profile has been created (Closed)

Created:
6 years, 5 months ago by Malcolm
Modified:
6 years, 5 months ago
Reviewers:
noms (inactive)
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix the profile picture doesn't display correctly after the new profile has been created. Trigger to download the high resolution avatar immediately, after a new profile has been created. BUG=391696 TEST=manually tested, see repro steps in the bug. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283856

Patch Set 1 #

Patch Set 2 : Update patch #

Total comments: 2

Patch Set 3 : Change by following the comment #

Total comments: 3

Patch Set 4 : Updated patch #

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

Messages

Total messages: 22 (0 generated)
Malcolm
Please review this patch, thanks!
6 years, 5 months ago (2014-07-09 09:36:54 UTC) #1
noms (inactive)
Please add a TEST= line to the CL description. https://codereview.chromium.org/380643002/diff/20001/chrome/browser/profiles/profile_info_cache.cc File chrome/browser/profiles/profile_info_cache.cc (right): https://codereview.chromium.org/380643002/diff/20001/chrome/browser/profiles/profile_info_cache.cc#newcode241 chrome/browser/profiles/profile_info_cache.cc:241: ...
6 years, 5 months ago (2014-07-09 13:37:29 UTC) #2
Malcolm
https://codereview.chromium.org/380643002/diff/20001/chrome/browser/profiles/profile_info_cache.cc File chrome/browser/profiles/profile_info_cache.cc (right): https://codereview.chromium.org/380643002/diff/20001/chrome/browser/profiles/profile_info_cache.cc#newcode241 chrome/browser/profiles/profile_info_cache.cc:241: if (switches::IsNewAvatarMenu()) Done, and add TEST= On 2014/07/09 13:37:29, ...
6 years, 5 months ago (2014-07-10 03:54:04 UTC) #3
Malcolm
Patch is updated, please review it, thanks!
6 years, 5 months ago (2014-07-10 14:41:02 UTC) #4
noms (inactive)
lgtm, thanks!
6 years, 5 months ago (2014-07-10 14:42:42 UTC) #5
Malcolm
The CQ bit was checked by malcolm.2.wang@gmail.com
6 years, 5 months ago (2014-07-10 14:45:25 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/malcolm.2.wang@gmail.com/380643002/40001
6 years, 5 months ago (2014-07-10 14:47:26 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 5 months ago (2014-07-10 16:44:24 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-10 17:59:41 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/169751)
6 years, 5 months ago (2014-07-10 17:59:47 UTC) #10
Malcolm
Hi Monica, The cl failed on unit_tests=ProfileInfoCacheTest.DownloadHighResAvatarTest, on line: EXPECT_EQ(0U, GetCache()->avatar_images_downloads_in_progress_.size()); Now, a high-res avatar ...
6 years, 5 months ago (2014-07-11 07:47:55 UTC) #11
noms (inactive)
So, to make that test still useful, it could test changing the avatar for the ...
6 years, 5 months ago (2014-07-11 13:44:17 UTC) #12
noms (inactive)
https://codereview.chromium.org/380643002/diff/40001/chrome/browser/profiles/profile_info_cache.cc File chrome/browser/profiles/profile_info_cache.cc (right): https://codereview.chromium.org/380643002/diff/40001/chrome/browser/profiles/profile_info_cache.cc#newcode236 chrome/browser/profiles/profile_info_cache.cc:236: if (switches::IsNewAvatarMenu()) I'm sorry, I didn't see this initially ...
6 years, 5 months ago (2014-07-11 13:47:56 UTC) #13
Malcolm
https://codereview.chromium.org/380643002/diff/40001/chrome/browser/profiles/profile_info_cache.cc File chrome/browser/profiles/profile_info_cache.cc (right): https://codereview.chromium.org/380643002/diff/40001/chrome/browser/profiles/profile_info_cache.cc#newcode236 chrome/browser/profiles/profile_info_cache.cc:236: if (switches::IsNewAvatarMenu()) You are right, this should be done ...
6 years, 5 months ago (2014-07-11 14:18:44 UTC) #14
noms (inactive)
https://codereview.chromium.org/380643002/diff/40001/chrome/browser/profiles/profile_info_cache.cc File chrome/browser/profiles/profile_info_cache.cc (right): https://codereview.chromium.org/380643002/diff/40001/chrome/browser/profiles/profile_info_cache.cc#newcode236 chrome/browser/profiles/profile_info_cache.cc:236: if (switches::IsNewAvatarMenu()) Default arguments are not allowed in Chromium, ...
6 years, 5 months ago (2014-07-11 15:59:12 UTC) #15
noms (inactive)
Alright. I finally got around to look at it, and everything is pretty much ok. ...
6 years, 5 months ago (2014-07-15 15:31:09 UTC) #16
Malcolm
Thank you for your help, I updated the patch, also tested through ProfileInfoCacheTest.*
6 years, 5 months ago (2014-07-17 04:10:49 UTC) #17
noms (inactive)
Thanks! LGTM
6 years, 5 months ago (2014-07-17 14:15:25 UTC) #18
Malcolm
The CQ bit was checked by malcolm.2.wang@gmail.com
6 years, 5 months ago (2014-07-17 14:28:02 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/malcolm.2.wang@gmail.com/380643002/60001
6 years, 5 months ago (2014-07-17 14:29:17 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-17 18:26:46 UTC) #21
commit-bot: I haz the power
6 years, 5 months ago (2014-07-17 20:27:48 UTC) #22
Message was sent while issue was closed.
Change committed as 283856

Powered by Google App Engine
This is Rietveld 408576698