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

Issue 14955004: [Resumption 11/12] Support resuming interrupted downloads from the downloads shelf. (Closed)

Created:
7 years, 7 months ago by asanka
Modified:
7 years, 6 months ago
CC:
chromium-reviews, benjhayden+dwatch_chromium.org
Visibility:
Public.

Description

[Downloads] Support resuming interrupted downloads from the downloads shelf. The download shelf context menu will have a 'Resume' item for interrupted downloads. This option is available if '--enable-download-resumption' flag is enabled. BUG=7648 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204710

Patch Set 1 : #

Patch Set 2 : Restore prior behaivor if flag is not set #

Total comments: 9

Patch Set 3 : #

Patch Set 4 : Depend on https://codereview.chromium.org/16007017/ #

Total comments: 2

Patch Set 5 : Re-use TOGGLE_PAUSE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -20 lines) Patch
M chrome/browser/download/download_shelf_context_menu.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/download_shelf_context_menu.cc View 1 2 3 4 6 chunks +44 lines, -19 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
asanka
7 years, 6 months ago (2013-06-03 20:50:07 UTC) #1
Randy Smith (Not in Mondays)
Two high level thoughts: * I don't see any dependencies on any flag; is there ...
7 years, 6 months ago (2013-06-03 21:48:40 UTC) #2
asanka
On 2013/06/03 21:48:40, rdsmith wrote: > Two high level thoughts: > * I don't see ...
7 years, 6 months ago (2013-06-03 22:35:39 UTC) #3
Randy Smith (Not in Mondays)
https://codereview.chromium.org/14955004/diff/6002/chrome/browser/download/download_shelf_context_menu.cc File chrome/browser/download/download_shelf_context_menu.cc (right): https://codereview.chromium.org/14955004/diff/6002/chrome/browser/download/download_shelf_context_menu.cc#newcode88 chrome/browser/download/download_shelf_context_menu.cc:88: return download_item_->IsPartialDownload() || download_item_->CanResume(); Why not IsInterrupted() instead of ...
7 years, 6 months ago (2013-06-04 17:08:59 UTC) #4
asanka
https://codereview.chromium.org/14955004/diff/6002/chrome/browser/download/download_shelf_context_menu.cc File chrome/browser/download/download_shelf_context_menu.cc (right): https://codereview.chromium.org/14955004/diff/6002/chrome/browser/download/download_shelf_context_menu.cc#newcode88 chrome/browser/download/download_shelf_context_menu.cc:88: return download_item_->IsPartialDownload() || download_item_->CanResume(); On 2013/06/04 17:08:59, rdsmith wrote: ...
7 years, 6 months ago (2013-06-04 18:52:38 UTC) #5
Randy Smith (Not in Mondays)
LGTM. https://codereview.chromium.org/14955004/diff/6002/chrome/browser/download/download_shelf_context_menu.cc File chrome/browser/download/download_shelf_context_menu.cc (right): https://codereview.chromium.org/14955004/diff/6002/chrome/browser/download/download_shelf_context_menu.cc#newcode88 chrome/browser/download/download_shelf_context_menu.cc:88: return download_item_->IsPartialDownload() || download_item_->CanResume(); On 2013/06/04 18:52:39, asanka ...
7 years, 6 months ago (2013-06-05 20:05:33 UTC) #6
asanka
Thanks! https://codereview.chromium.org/14955004/diff/6002/chrome/browser/download/download_shelf_context_menu.cc File chrome/browser/download/download_shelf_context_menu.cc (right): https://codereview.chromium.org/14955004/diff/6002/chrome/browser/download/download_shelf_context_menu.cc#newcode88 chrome/browser/download/download_shelf_context_menu.cc:88: return download_item_->IsPartialDownload() || download_item_->CanResume(); On 2013/06/05 20:05:34, rdsmith ...
7 years, 6 months ago (2013-06-05 20:09:26 UTC) #7
Randy Smith (Not in Mondays)
https://codereview.chromium.org/14955004/diff/13001/chrome/browser/download/download_shelf_context_menu.cc File chrome/browser/download/download_shelf_context_menu.cc (right): https://codereview.chromium.org/14955004/diff/13001/chrome/browser/download/download_shelf_context_menu.cc#newcode92 chrome/browser/download/download_shelf_context_menu.cc:92: return download_item_->IsInterrupted() && download_item_->CanResume(); Actually, an extra high-level question: ...
7 years, 6 months ago (2013-06-05 20:12:55 UTC) #8
asanka
https://codereview.chromium.org/14955004/diff/13001/chrome/browser/download/download_shelf_context_menu.cc File chrome/browser/download/download_shelf_context_menu.cc (right): https://codereview.chromium.org/14955004/diff/13001/chrome/browser/download/download_shelf_context_menu.cc#newcode92 chrome/browser/download/download_shelf_context_menu.cc:92: return download_item_->IsInterrupted() && download_item_->CanResume(); On 2013/06/05 20:12:55, rdsmith wrote: ...
7 years, 6 months ago (2013-06-05 20:29:16 UTC) #9
asanka
On 2013/06/05 20:29:16, asanka wrote: > https://codereview.chromium.org/14955004/diff/13001/chrome/browser/download/download_shelf_context_menu.cc > File chrome/browser/download/download_shelf_context_menu.cc (right): > > https://codereview.chromium.org/14955004/diff/13001/chrome/browser/download/download_shelf_context_menu.cc#newcode92 > ...
7 years, 6 months ago (2013-06-05 22:10:04 UTC) #10
Randy Smith (Not in Mondays)
LGTM>
7 years, 6 months ago (2013-06-06 15:11:59 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asanka@chromium.org/14955004/21001
7 years, 6 months ago (2013-06-06 19:09:03 UTC) #12
commit-bot: I haz the power
7 years, 6 months ago (2013-06-07 04:55:21 UTC) #13
Message was sent while issue was closed.
Change committed as 204710

Powered by Google App Engine
This is Rietveld 408576698