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

Issue 2851303003: Add the download component and initial setup (Closed)

Created:
3 years, 7 months ago by David Trainor- moved to gerrit
Modified:
3 years, 7 months ago
CC:
asanka, blundell+watchlist_chromium.org, chromium-reviews, droger+watchlist_chromium.org, David Trainor- moved to gerrit, sdefresne+watchlist_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add the download component and initial setup - Add the BackgroundDownloadService interface and associated files. Set up the test hooks and tie it into the proper Chrome and component_unittest targets. BUG=717180 Review-Url: https://codereview.chromium.org/2851303003 Cr-Commit-Position: refs/heads/master@{#469371} Committed: https://chromium.googlesource.com/chromium/src/+/620a4a8839bc2ebc46d923c33ef2435f6b8cb6e1

Patch Set 1 #

Patch Set 2 : Removed accidental rename #

Total comments: 37

Patch Set 3 : Addressed comments without rename #

Patch Set 4 : Build break #

Total comments: 4

Patch Set 5 : Address initial comments #

Patch Set 6 : Renamed the service #

Total comments: 6

Patch Set 7 : Attempt at fixing windows and mac builds #

Patch Set 8 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+649 lines, -0 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
A chrome/browser/download/download_service_factory.h View 1 2 3 4 5 1 chunk +50 lines, -0 lines 0 comments Download
A chrome/browser/download/download_service_factory.cc View 1 2 3 4 5 6 7 1 chunk +62 lines, -0 lines 0 comments Download
M chrome/common/chrome_constants.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_constants.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M components/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A components/download/BUILD.gn View 1 chunk +26 lines, -0 lines 0 comments Download
A components/download/OWNERS View 1 chunk +6 lines, -0 lines 0 comments Download
A components/download/internal/BUILD.gn View 1 2 3 4 5 1 chunk +41 lines, -0 lines 0 comments Download
A components/download/internal/DEPS View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
A components/download/internal/download_service_impl.h View 1 2 3 4 5 1 chunk +38 lines, -0 lines 0 comments Download
A components/download/internal/download_service_impl.cc View 1 2 3 4 5 1 chunk +28 lines, -0 lines 0 comments Download
A components/download/internal/download_service_impl_unittest.cc View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
A components/download/public/BUILD.gn View 1 2 3 4 5 1 chunk +28 lines, -0 lines 0 comments Download
A components/download/public/DEPS View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
A components/download/public/client.h View 1 2 3 4 5 6 7 1 chunk +81 lines, -0 lines 0 comments Download
A components/download/public/clients.h View 1 2 3 4 5 6 7 1 chunk +28 lines, -0 lines 0 comments Download
A components/download/public/download_params.h View 1 2 3 4 5 1 chunk +135 lines, -0 lines 0 comments Download
A components/download/public/download_params.cc View 1 2 3 4 5 6 7 1 chunk +25 lines, -0 lines 0 comments Download
A components/download/public/download_service.h View 1 2 3 4 5 1 chunk +72 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 49 (31 generated)
David Trainor- moved to gerrit
ptal thanks!
3 years, 7 months ago (2017-05-01 21:10:52 UTC) #4
xingliu
lgtm with nits. https://codereview.chromium.org/2851303003/diff/20001/chrome/common/chrome_constants.cc File chrome/common/chrome_constants.cc (right): https://codereview.chromium.org/2851303003/diff/20001/chrome/common/chrome_constants.cc#newcode144 chrome/common/chrome_constants.cc:144: FPL("Download Service/persisted"); nit: "/" This might ...
3 years, 7 months ago (2017-05-01 23:56:55 UTC) #5
jochen (gone - plz use gerrit)
+peter this is supposed to also support Background Fetch (according to the design doc). Would ...
3 years, 7 months ago (2017-05-02 09:58:23 UTC) #7
Randy Smith (Not in Mondays)
On 2017/05/02 09:58:23, jochen wrote: > +peter > > this is supposed to also support ...
3 years, 7 months ago (2017-05-02 12:27:38 UTC) #9
Peter Beverloo
https://codereview.chromium.org/2851303003/diff/20001/chrome/common/chrome_constants.cc File chrome/common/chrome_constants.cc (right): https://codereview.chromium.org/2851303003/diff/20001/chrome/common/chrome_constants.cc#newcode144 chrome/common/chrome_constants.cc:144: FPL("Download Service/persisted"); On 2017/05/01 23:56:54, xingliu wrote: > nit: ...
3 years, 7 months ago (2017-05-02 16:12:21 UTC) #11
Peter Beverloo
https://codereview.chromium.org/2851303003/diff/20001/components/download/internal/background_download_service_impl_unittest.cc File components/download/internal/background_download_service_impl_unittest.cc (right): https://codereview.chromium.org/2851303003/diff/20001/components/download/internal/background_download_service_impl_unittest.cc#newcode11 components/download/internal/background_download_service_impl_unittest.cc:11: } On 2017/05/02 16:12:20, Peter Beverloo wrote: > I'd ...
3 years, 7 months ago (2017-05-02 16:16:47 UTC) #12
David Trainor- moved to gerrit
https://codereview.chromium.org/2851303003/diff/20001/chrome/common/chrome_constants.cc File chrome/common/chrome_constants.cc (right): https://codereview.chromium.org/2851303003/diff/20001/chrome/common/chrome_constants.cc#newcode144 chrome/common/chrome_constants.cc:144: FPL("Download Service/persisted"); On 2017/05/02 16:12:20, Peter Beverloo wrote: > ...
3 years, 7 months ago (2017-05-03 06:02:59 UTC) #14
jochen (gone - plz use gerrit)
rubberstamp lgtm on adding the component. Please wait for peter@ to finish his review as ...
3 years, 7 months ago (2017-05-03 10:39:35 UTC) #22
Peter Beverloo
lgtm % {Background,}DownloadService rename https://codereview.chromium.org/2851303003/diff/60001/components/download/internal/BUILD.gn File components/download/internal/BUILD.gn (right): https://codereview.chromium.org/2851303003/diff/60001/components/download/internal/BUILD.gn#newcode10 components/download/internal/BUILD.gn:10: static_library("internal") { This target needs ...
3 years, 7 months ago (2017-05-03 13:02:50 UTC) #23
David Trainor- moved to gerrit
https://codereview.chromium.org/2851303003/diff/60001/components/download/internal/BUILD.gn File components/download/internal/BUILD.gn (right): https://codereview.chromium.org/2851303003/diff/60001/components/download/internal/BUILD.gn#newcode10 components/download/internal/BUILD.gn:10: static_library("internal") { On 2017/05/03 13:02:50, Peter Beverloo wrote: > ...
3 years, 7 months ago (2017-05-03 17:42:04 UTC) #28
David Trainor- moved to gerrit
brettw@: Can I get a review for adding url/ to DEPS? dcheng@: Can I get ...
3 years, 7 months ago (2017-05-03 17:48:48 UTC) #32
Randy Smith (Not in Mondays)
On 2017/05/03 17:48:48, David Trainor-ping if over 24h wrote: > brettw@: Can I get a ...
3 years, 7 months ago (2017-05-03 18:09:00 UTC) #35
dcheng
base DEPS lgtm https://codereview.chromium.org/2851303003/diff/100001/chrome/browser/download/download_service_factory.cc File chrome/browser/download/download_service_factory.cc (right): https://codereview.chromium.org/2851303003/diff/100001/chrome/browser/download/download_service_factory.cc#newcode43 chrome/browser/download/download_service_factory.cc:43: base::TaskPriority::BACKGROUND)); Based on CLs like https://codereview.chromium.org/2858073002/, ...
3 years, 7 months ago (2017-05-04 00:19:27 UTC) #36
David Trainor- moved to gerrit
mkwst@ can you take a look for url/ DEPS? Just realized brettw@ has it set ...
3 years, 7 months ago (2017-05-04 00:47:26 UTC) #38
Mike West
//url DEPS LGTM.
3 years, 7 months ago (2017-05-04 06:34:38 UTC) #39
David Trainor- moved to gerrit
https://codereview.chromium.org/2851303003/diff/100001/chrome/browser/download/download_service_factory.cc File chrome/browser/download/download_service_factory.cc (right): https://codereview.chromium.org/2851303003/diff/100001/chrome/browser/download/download_service_factory.cc#newcode43 chrome/browser/download/download_service_factory.cc:43: base::TaskPriority::BACKGROUND)); On 2017/05/04 00:19:26, dcheng wrote: > Based on ...
3 years, 7 months ago (2017-05-04 16:15:48 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2851303003/140001
3 years, 7 months ago (2017-05-04 16:41:00 UTC) #46
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 17:35:07 UTC) #49
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/620a4a8839bc2ebc46d923c33ef2...

Powered by Google App Engine
This is Rietveld 408576698