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

Issue 1522893004: [Downloads] Use final URL for resumption. (Closed)

Created:
5 years ago by asanka
Modified:
5 years ago
Reviewers:
svaldez
CC:
chromium-reviews, asanka, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@download-browsertest-cleanup
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Downloads] Use final URL for resumption. If the initial download request contains multiple redirects, then the resumption attempt should only use the final URL. Strong validators are only valid when used against the same URL. R=svaldez@chromium.org BUG=7468 Committed: https://crrev.com/6ac869dac34c217329d8a23c8cb4f5472e0758df Cr-Commit-Position: refs/heads/master@{#365295}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Make download id be a property of the fixture. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -23 lines) Patch
M content/browser/download/download_item_impl.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M content/browser/download/download_item_impl_unittest.cc View 1 6 chunks +60 lines, -18 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
asanka
PTAL?
5 years ago (2015-12-14 22:28:36 UTC) #4
svaldez
lgtm https://codereview.chromium.org/1522893004/diff/1/content/browser/download/download_item_impl_unittest.cc File content/browser/download/download_item_impl_unittest.cc (right): https://codereview.chromium.org/1522893004/diff/1/content/browser/download/download_item_impl_unittest.cc#newcode219 content/browser/download/download_item_impl_unittest.cc:219: static uint32 next_id = DownloadItem::kInvalidId + 1; nit: ...
5 years ago (2015-12-15 15:11:50 UTC) #5
asanka
https://codereview.chromium.org/1522893004/diff/1/content/browser/download/download_item_impl_unittest.cc File content/browser/download/download_item_impl_unittest.cc (right): https://codereview.chromium.org/1522893004/diff/1/content/browser/download/download_item_impl_unittest.cc#newcode219 content/browser/download/download_item_impl_unittest.cc:219: static uint32 next_id = DownloadItem::kInvalidId + 1; On 2015/12/15 ...
5 years ago (2015-12-15 17:32:27 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1522893004/10001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1522893004/10001
5 years ago (2015-12-15 17:33:26 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:10001)
5 years ago (2015-12-15 18:47:18 UTC) #11
commit-bot: I haz the power
5 years ago (2015-12-15 18:48:22 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6ac869dac34c217329d8a23c8cb4f5472e0758df
Cr-Commit-Position: refs/heads/master@{#365295}

Powered by Google App Engine
This is Rietveld 408576698