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

Issue 1525753002: Test both download resumption code paths. (Closed)

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

Description

[Downloads] Test both download resumption code paths. Download resumption can take two different code paths depending on whether the WebContents that initiated the download is still around when the download is resumed or not. Make our tests go through both code paths based on a parameterized test. R=svaldez@chromium.org BUG=7648 Committed: https://crrev.com/d738ccdbf70dff7b1aef51a7b01b084e27088d58 Cr-Commit-Position: refs/heads/master@{#365153}

Patch Set 1 #

Total comments: 12

Patch Set 2 : A couple of renames. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -65 lines) Patch
M content/browser/download/download_browsertest.cc View 1 28 chunks +130 lines, -65 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (6 generated)
asanka
PTAL?
5 years ago (2015-12-14 20:10:27 UTC) #1
svaldez
https://codereview.chromium.org/1525753002/diff/1/content/browser/download/download_browsertest.cc File content/browser/download/download_browsertest.cc (right): https://codereview.chromium.org/1525753002/diff/1/content/browser/download/download_browsertest.cc#newcode751 content/browser/download/download_browsertest.cc:751: ::testing::Values(DownloadResumptionTestType::RESUME_WITH_RENDERER, Is the :: at the beginning necessary? https://codereview.chromium.org/1525753002/diff/1/content/browser/download/download_browsertest.cc#newcode1437 ...
5 years ago (2015-12-14 21:18:15 UTC) #2
asanka
Let me know if there are other readability issues you spot that might make it ...
5 years ago (2015-12-14 21:31:02 UTC) #3
asanka
Updated. Could you have another look?
5 years ago (2015-12-14 21:49:22 UTC) #4
svaldez
lgtm https://codereview.chromium.org/1525753002/diff/1/content/browser/download/download_browsertest.cc File content/browser/download/download_browsertest.cc (right): https://codereview.chromium.org/1525753002/diff/1/content/browser/download/download_browsertest.cc#newcode751 content/browser/download/download_browsertest.cc:751: ::testing::Values(DownloadResumptionTestType::RESUME_WITH_RENDERER, On 2015/12/14 21:31:02, asanka wrote: > On ...
5 years ago (2015-12-14 22:01:36 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1525753002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1525753002/20001
5 years ago (2015-12-14 22:09:06 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-15 00:13:13 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1525753002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1525753002/20001
5 years ago (2015-12-15 03:35:45 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-15 05:09:42 UTC) #14
commit-bot: I haz the power
5 years ago (2015-12-15 05:11:18 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d738ccdbf70dff7b1aef51a7b01b084e27088d58
Cr-Commit-Position: refs/heads/master@{#365153}

Powered by Google App Engine
This is Rietveld 408576698