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

Issue 214523003: Before deleting a profile, cancel all in-progress downloads (Closed)

Created:
6 years, 9 months ago by Marc Treib
Modified:
6 years, 8 months ago
CC:
Pam (message me for reviews), chromium-reviews, benjhayden+dwatch_chromium.org, rginda+watch_chromium.org, yoshiki+watch_chromium.org
Visibility:
Public.

Description

Before deleting a profile, cancel all in-progress downloads to prevent a "Do you really want to exit Chrome" popup, which (1) is confusing because the message is not accurate, and (2) prevents a window corresponding to the deleted profile from closing, leaving it in an inconsistent state. A UI update (warning the user that downloads will be canceled) will follow in a separate CL. Note: I'm aware that this doesn't address crbug.com/289390 which is another way to trigger the same underlying bug. Working on it... BUG=336725 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262970

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -12 lines) Patch
M chrome/browser/download/download_service.h View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/download/download_service.cc View 2 chunks +19 lines, -11 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 3 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Marc Treib
rlp@chromium.org: Please review changes in profile_manager.cc benjhayden@chromium.org: Please review changes in download_service.h/cc Try failures seem ...
6 years, 8 months ago (2014-03-28 14:58:25 UTC) #1
benjhayden
Looks like a straightforward code move refactor in DownloadService. LGTM
6 years, 8 months ago (2014-03-28 18:51:18 UTC) #2
asanka
Why is this necessary? The in-progress downloads are supposed to be destroyed during profile shutdown. ...
6 years, 8 months ago (2014-03-28 19:51:15 UTC) #3
Marc Treib
On 2014/03/28 19:51:15, asanka wrote: > Why is this necessary? The in-progress downloads are supposed ...
6 years, 8 months ago (2014-03-31 07:36:46 UTC) #4
asanka
On 2014/03/31 07:36:46, treib wrote: > On 2014/03/28 19:51:15, asanka wrote: > > Why is ...
6 years, 8 months ago (2014-03-31 15:57:21 UTC) #5
Marc Treib
On 2014/03/31 15:57:21, asanka wrote: > On 2014/03/31 07:36:46, treib wrote: > > On 2014/03/28 ...
6 years, 8 months ago (2014-04-01 11:12:46 UTC) #6
Marc Treib
On 2014/04/01 11:12:46, treib wrote: > On 2014/03/31 15:57:21, asanka wrote: > > It seems ...
6 years, 8 months ago (2014-04-03 10:45:29 UTC) #7
asanka
On 2014/04/03 10:45:29, treib wrote: > On 2014/04/01 11:12:46, treib wrote: > > On 2014/03/31 ...
6 years, 8 months ago (2014-04-03 15:42:54 UTC) #8
Marc Treib
On 2014/04/03 15:42:54, asanka wrote: > Sorry about the delay. I don't mean to block ...
6 years, 8 months ago (2014-04-03 16:31:42 UTC) #9
asanka
On 2014/04/03 16:31:42, treib wrote: > On 2014/04/03 15:42:54, asanka wrote: > > Sorry about ...
6 years, 8 months ago (2014-04-03 21:45:47 UTC) #10
rpetterson
profiles LGTM
6 years, 8 months ago (2014-04-09 20:24:36 UTC) #11
Marc Treib
The CQ bit was checked by treib@chromium.org
6 years, 8 months ago (2014-04-10 07:14:39 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/treib@chromium.org/214523003/1
6 years, 8 months ago (2014-04-10 07:14:47 UTC) #13
commit-bot: I haz the power
6 years, 8 months ago (2014-04-10 13:43:25 UTC) #14
Message was sent while issue was closed.
Change committed as 262970

Powered by Google App Engine
This is Rietveld 408576698