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

Issue 4693005: Set the download rate to 0B/s if the download is paused. (Closed)

Created:
10 years, 1 month ago by Zachary Kuznia
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

Set the download rate to 0B/s if the download is paused. BUG=chromium-os:2287 TEST=Download a large file. Pause the download. Check that the rate changes to 0B/s Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65642

Patch Set 1 #

Patch Set 2 : Code review #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -4 lines) Patch
M chrome/browser/download/download_util.cc View 1 chunk +10 lines, -4 lines 1 comment Download

Messages

Total messages: 3 (0 generated)
Zachary Kuznia
10 years, 1 month ago (2010-11-10 04:43:27 UTC) #1
kochi
LGTM
10 years, 1 month ago (2010-11-10 04:52:54 UTC) #2
Paweł Hajdan Jr.
10 years, 1 month ago (2010-11-10 12:14:01 UTC) #3
Drive-by with a download comment. Please do a follow-up CL.

http://codereview.chromium.org/4693005/diff/2001/chrome/browser/download/down...
File chrome/browser/download/download_util.cc (right):

http://codereview.chromium.org/4693005/diff/2001/chrome/browser/download/down...
chrome/browser/download/download_util.cc:586: if (download->is_paused()) {
This seems wrong. Why not do that in download->CurrentSpeed()?

Powered by Google App Engine
This is Rietveld 408576698