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

Issue 115797: Show the time remaining of download items in the download manager.... (Closed)

Created:
11 years, 7 months ago by arv (Not doing code reviews)
Modified:
9 years, 3 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Show the time remaining of download items in the download manager. BUG=9607 TEST=Download a large file and go to the download manager (Ctrl+J). The remaining time of your current downloads should decreasen as the download is getting closer to being done. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=16949

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 8

Patch Set 6 : '' #

Total comments: 2

Patch Set 7 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -4 lines) Patch
M chrome/app/generated_resources.grd View 3 4 1 chunk +6 lines, -2 lines 1 comment Download
M chrome/browser/dom_ui/downloads_dom_handler.cc View 1 2 3 4 5 6 1 chunk +15 lines, -2 lines 1 comment Download

Messages

Total messages: 6 (0 generated)
arv (Not doing code reviews)
11 years, 7 months ago (2009-05-26 22:28:02 UTC) #1
Peter Kasting
http://codereview.chromium.org/115797/diff/2001/2002 File chrome/browser/dom_ui/downloads_dom_handler.cc (right): http://codereview.chromium.org/115797/diff/2001/2002#newcode31 Line 31: using base::TimeDelta; Nit: Don't use using directives unless ...
11 years, 7 months ago (2009-05-26 22:42:47 UTC) #2
arv (Not doing code reviews)
PTAL http://codereview.chromium.org/115797/diff/2001/2002 File chrome/browser/dom_ui/downloads_dom_handler.cc (right): http://codereview.chromium.org/115797/diff/2001/2002#newcode31 Line 31: using base::TimeDelta; On 2009/05/26 22:42:48, pkasting wrote: ...
11 years, 7 months ago (2009-05-26 22:50:00 UTC) #3
Peter Kasting
http://codereview.chromium.org/115797/diff/1022/1023 File chrome/browser/dom_ui/downloads_dom_handler.cc (right): http://codereview.chromium.org/115797/diff/1022/1023#newcode347 Line 347: else Still have this else after return.
11 years, 7 months ago (2009-05-26 22:54:38 UTC) #4
arv (Not doing code reviews)
http://codereview.chromium.org/115797/diff/1022/1023 File chrome/browser/dom_ui/downloads_dom_handler.cc (right): http://codereview.chromium.org/115797/diff/1022/1023#newcode347 Line 347: else On 2009/05/26 22:54:38, pkasting wrote: > Still ...
11 years, 7 months ago (2009-05-26 22:59:32 UTC) #5
Peter Kasting
11 years, 7 months ago (2009-05-26 23:18:30 UTC) #6
LGTM with nits

http://codereview.chromium.org/115797/diff/1029/1031
File chrome/app/generated_resources.grd (right):

http://codereview.chromium.org/115797/diff/1029/1031#newcode1557
Line 1557: desc="The status text for a download in progress in the download
manager. This include information such as speed and received byte counts and is
used when we do not know the remaining time">
Nit: include -> includes (two places)

http://codereview.chromium.org/115797/diff/1029/1030
File chrome/browser/dom_ui/downloads_dom_handler.cc (right):

http://codereview.chromium.org/115797/diff/1029/1030#newcode344
Line 344: return
l10n_util::GetStringF(IDS_DOWNLOAD_TAB_PROGRESS_STATUS_TIME_UNKNOWN,
Nit: Now, on _this_ conditional body, since it's >1 line, you do need { } :)

(Random passing note: giving each arg its own line is fairly uncommon within our
code, we usually do as many args as will fit on a line)

Powered by Google App Engine
This is Rietveld 408576698