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

Issue 23790005: UserManager shutdown now also stops the profile image downloader. (Closed)

Created:
7 years, 3 months ago by vabr (Chromium)
Modified:
6 years, 11 months ago
Reviewers:
stevenjb, Nikita (slow)
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

UserManager shutdown now also stops the profile image downloader. UserManager owns UserImageSyncObserver, which creates and owns a ProfileDownloader (profile_image_downloader_). This can have some URLRequest pending during the time Chrome shuts down, which breaks things. This CL adds code to UserImageSyncObserver::Shutdown, which is called during UserManager::Get()->Shutdown(), to also destroy the ProfileDownloader. BUG=276659 TBR=nkostylev@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220834

Patch Set 1 #

Total comments: 1

Patch Set 2 : Typo fixed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -5 lines) Patch
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 2 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/login/user_image_manager.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/user_image_manager_impl.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
vabr (Chromium)
Hi Steven, Please take a look. Thanks, Vaclav
7 years, 3 months ago (2013-08-30 17:27:47 UTC) #1
stevenjb
lgtm +nkostylev@chromium.org for owner https://codereview.chromium.org/23790005/diff/1/chrome/browser/chromeos/login/user_image_manager.h File chrome/browser/chromeos/login/user_image_manager.h (right): https://codereview.chromium.org/23790005/diff/1/chrome/browser/chromeos/login/user_image_manager.h#newcode84 chrome/browser/chromeos/login/user_image_manager.h:84: // Also cancel any profile ...
7 years, 3 months ago (2013-08-30 17:55:06 UTC) #2
vabr (Chromium)
Thanks, Steven. I added Nikita in TBR, as he is OOO, and this is for ...
7 years, 3 months ago (2013-08-30 18:12:18 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/23790005/8001
7 years, 3 months ago (2013-08-30 18:13:10 UTC) #4
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-08-31 02:07:58 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/23790005/8001
7 years, 3 months ago (2013-09-02 08:00:06 UTC) #6
commit-bot: I haz the power
Change committed as 220834
7 years, 3 months ago (2013-09-02 11:58:29 UTC) #7
stevenjb
On 2013/09/02 11:58:29, I haz the power (commit-bot) wrote: > Change committed as 220834 lgtm
6 years, 11 months ago (2014-01-14 17:27:03 UTC) #8
vabr (Chromium)
6 years, 11 months ago (2014-01-14 17:35:19 UTC) #9
Message was sent while issue was closed.
On 2014/01/14 17:27:03, stevenjb wrote:
> On 2013/09/02 11:58:29, I haz the power (commit-bot) wrote:
> > Change committed as 220834
> 
> lgtm

Hi Steven, I think you approved this CL already 4 months ago. :) Did you mean
https://codereview.chromium.org/138063002/ instead?

Cheers,
Vaclav

Powered by Google App Engine
This is Rietveld 408576698