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

Issue 74523002: [Downloads] Update origin info after each response. (Closed)

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

Description

[Downloads] Update origin info after each response. When a download is resumed, a new URL request is sent out. The response received for this request may contain new ETag and Last-Modified information which should be used for subsequent resumption attempts. Otherwise if a resource changes (along with the corresponding ETag) subsequent partial resumption attempts will all fail even if it should have succeeded. BUG=7648 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=240773

Patch Set 1 #

Total comments: 6

Patch Set 2 : New UMA #

Patch Set 3 : Rebase only #

Patch Set 4 : Add clarifying comment for redirect chain extension logic. #

Patch Set 5 : Merge with r239529 #

Patch Set 6 : Fix histogram. #

Patch Set 7 : Better descriptions. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -7 lines) Patch
M content/browser/download/download_browsertest.cc View 3 chunks +8 lines, -6 lines 0 comments Download
M content/browser/download/download_item_impl.h View 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/download/download_item_impl.cc View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download
M content/browser/download/download_manager_impl.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/download/download_stats.h View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M content/browser/download/download_stats.cc View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
M net/tools/testserver/testserver.py View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +27 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
asanka
Depends on https://codereview.chromium.org/67883007/
7 years, 1 month ago (2013-11-18 18:37:32 UTC) #1
Randy Smith (Not in Mondays)
https://codereview.chromium.org/74523002/diff/1/content/browser/download/download_item_impl.cc File content/browser/download/download_item_impl.cc (right): https://codereview.chromium.org/74523002/diff/1/content/browser/download/download_item_impl.cc#newcode905 content/browser/download/download_item_impl.cc:905: // We are going to tack on any new ...
7 years, 1 month ago (2013-11-18 22:15:56 UTC) #2
Randy Smith (Not in Mondays)
Whoops, sorry, one other thing: Could you fix the ""after on" each response? I think ...
7 years, 1 month ago (2013-11-18 22:16:28 UTC) #3
asanka
I removed the TODO and added UMA. https://codereview.chromium.org/74523002/diff/1/content/browser/download/download_item_impl.cc File content/browser/download/download_item_impl.cc (right): https://codereview.chromium.org/74523002/diff/1/content/browser/download/download_item_impl.cc#newcode905 content/browser/download/download_item_impl.cc:905: // We ...
7 years, 1 month ago (2013-11-19 23:54:19 UTC) #4
Randy Smith (Not in Mondays)
https://codereview.chromium.org/74523002/diff/1/content/browser/download/download_item_impl.cc File content/browser/download/download_item_impl.cc (right): https://codereview.chromium.org/74523002/diff/1/content/browser/download/download_item_impl.cc#newcode905 content/browser/download/download_item_impl.cc:905: // We are going to tack on any new ...
7 years, 1 month ago (2013-11-20 22:32:17 UTC) #5
asanka
https://codereview.chromium.org/74523002/diff/1/content/browser/download/download_item_impl.cc File content/browser/download/download_item_impl.cc (right): https://codereview.chromium.org/74523002/diff/1/content/browser/download/download_item_impl.cc#newcode905 content/browser/download/download_item_impl.cc:905: // We are going to tack on any new ...
7 years, 1 month ago (2013-11-21 18:11:08 UTC) #6
Randy Smith (Not in Mondays)
lgtm
7 years ago (2013-11-27 20:08:30 UTC) #7
asanka
On 2013/11/27 20:08:30, rdsmith wrote: > lgtm Thanks!
7 years ago (2013-11-27 20:54:42 UTC) #8
asanka
+asvitkine for histograms.xml
7 years ago (2013-12-11 20:24:36 UTC) #9
Alexei Svitkine (slow)
histograms lgtm
7 years ago (2013-12-11 20:38:21 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asanka@chromium.org/74523002/370001
7 years ago (2013-12-12 16:00:35 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/74523002/370001
7 years ago (2013-12-13 19:21:16 UTC) #12
commit-bot: I haz the power
7 years ago (2013-12-13 22:20:29 UTC) #13
Message was sent while issue was closed.
Change committed as 240773

Powered by Google App Engine
This is Rietveld 408576698