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

Issue 14958002: [Resumption 8/11] Remove intermediate files when no longer necessary. (Closed)

Created:
7 years, 7 months ago by asanka
Modified:
7 years, 7 months ago
CC:
chromium-reviews, benjhayden+dwatch_chromium.org, asanka, darin-cc_chromium.org, jam, joi+watch-content_chromium.org
Visibility:
Public.

Description

[Downloads] Remove intermediate files when no longer necessary. When cancelling or removing an interrupted download, the associated intermediate file should also be removed. That file is only necessary if the download is going to be resumed. BUG=7648 BUG=196806 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201883

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Merge with r201294 #

Patch Set 3 : Rely on delete on Cancel() #

Total comments: 4

Patch Set 4 : Merge with r201622 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -16 lines) Patch
M content/browser/download/download_browsertest.cc View 1 2 3 chunks +148 lines, -5 lines 0 comments Download
M content/browser/download/download_item_impl.cc View 1 2 3 2 chunks +9 lines, -9 lines 0 comments Download
M content/browser/download/download_manager_impl.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
asanka
7 years, 7 months ago (2013-05-15 14:41:51 UTC) #1
Randy Smith (Not in Mondays)
https://codereview.chromium.org/14958002/diff/2001/content/browser/download/download_browsertest.cc File content/browser/download/download_browsertest.cc (left): https://codereview.chromium.org/14958002/diff/2001/content/browser/download/download_browsertest.cc#oldcode1418 content/browser/download/download_browsertest.cc:1418: I had thought it was convention to have a ...
7 years, 7 months ago (2013-05-15 15:34:56 UTC) #2
asanka
https://codereview.chromium.org/14958002/diff/2001/content/browser/download/download_browsertest.cc File content/browser/download/download_browsertest.cc (left): https://codereview.chromium.org/14958002/diff/2001/content/browser/download/download_browsertest.cc#oldcode1418 content/browser/download/download_browsertest.cc:1418: On 2013/05/15 15:34:56, rdsmith wrote: > I had thought ...
7 years, 7 months ago (2013-05-21 21:09:02 UTC) #3
Randy Smith (Not in Mondays)
LGTM with the DCHECK comment below. https://codereview.chromium.org/14958002/diff/2001/content/browser/download/download_item_impl.cc File content/browser/download/download_item_impl.cc (right): https://codereview.chromium.org/14958002/diff/2001/content/browser/download/download_item_impl.cc#newcode422 content/browser/download/download_item_impl.cc:422: // non-empty current_path_ ...
7 years, 7 months ago (2013-05-21 21:40:37 UTC) #4
asanka
https://codereview.chromium.org/14958002/diff/2001/content/browser/download/download_item_impl.cc File content/browser/download/download_item_impl.cc (right): https://codereview.chromium.org/14958002/diff/2001/content/browser/download/download_item_impl.cc#newcode422 content/browser/download/download_item_impl.cc:422: // non-empty current_path_ that's the same as target_path_. On ...
7 years, 7 months ago (2013-05-22 22:55:52 UTC) #5
Randy Smith (Not in Mondays)
Still LGTM :-}.
7 years, 7 months ago (2013-05-23 13:58:12 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asanka@chromium.org/14958002/17001
7 years, 7 months ago (2013-05-23 14:36:07 UTC) #7
commit-bot: I haz the power
7 years, 7 months ago (2013-05-23 20:56:38 UTC) #8
Message was sent while issue was closed.
Change committed as 201883

Powered by Google App Engine
This is Rietveld 408576698