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

Issue 2866483002: Configuration for download service. (Closed)

Created:
3 years, 7 months ago by xingliu
Modified:
3 years, 7 months ago
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Configuration for download service. Setup the configuration for download service, each service holds a configuration object. Tests can modify the Configuration object or use base::test::ScopedFeatureList to overwrite the configuration. BUG=717180 Review-Url: https://codereview.chromium.org/2866483002 Cr-Commit-Position: refs/heads/master@{#469872} Committed: https://chromium.googlesource.com/chromium/src/+/a3b9a27415726553953ea3f0d1c926a51d26a412

Patch Set 1 #

Patch Set 2 : Fix protection header comment. #

Total comments: 4

Patch Set 3 : Work on feedbacks. #

Patch Set 4 : Removed useless line. #

Total comments: 4

Patch Set 5 : Work on reviews. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -3 lines) Patch
M components/download/internal/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A components/download/internal/config.h View 1 2 3 4 1 chunk +65 lines, -0 lines 0 comments Download
A components/download/internal/config.cc View 1 2 3 4 1 chunk +70 lines, -0 lines 0 comments Download
M components/download/internal/download_service_impl.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M components/download/internal/download_service_impl.cc View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M components/download/public/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A components/download/public/features.h View 1 1 chunk +16 lines, -0 lines 0 comments Download
A components/download/public/features.cc View 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
xingliu
Hi, PTAL, thanks.
3 years, 7 months ago (2017-05-04 18:12:30 UTC) #4
David Trainor- moved to gerrit
https://codereview.chromium.org/2866483002/diff/20001/components/download/internal/config.cc File components/download/internal/config.cc (right): https://codereview.chromium.org/2866483002/diff/20001/components/download/internal/config.cc#newcode44 components/download/internal/config.cc:44: void LoadFinchConfigs(Configuration* config) { Can we do something like ...
3 years, 7 months ago (2017-05-05 20:10:52 UTC) #7
xingliu
Thanks for the review, PTAL. https://codereview.chromium.org/2866483002/diff/20001/components/download/internal/config.cc File components/download/internal/config.cc (right): https://codereview.chromium.org/2866483002/diff/20001/components/download/internal/config.cc#newcode44 components/download/internal/config.cc:44: void LoadFinchConfigs(Configuration* config) { ...
3 years, 7 months ago (2017-05-05 22:55:03 UTC) #8
David Trainor- moved to gerrit
lgtm https://codereview.chromium.org/2866483002/diff/60001/components/download/internal/config.h File components/download/internal/config.h (right): https://codereview.chromium.org/2866483002/diff/60001/components/download/internal/config.h#newcode37 components/download/internal/config.h:37: static std::unique_ptr<Configuration> Create(); CreateFromFinch? https://codereview.chromium.org/2866483002/diff/60001/components/download/internal/config.h#newcode59 components/download/internal/config.h:59: Configuration(); Leave ...
3 years, 7 months ago (2017-05-05 23:36:29 UTC) #9
xingliu
https://codereview.chromium.org/2866483002/diff/60001/components/download/internal/config.h File components/download/internal/config.h (right): https://codereview.chromium.org/2866483002/diff/60001/components/download/internal/config.h#newcode37 components/download/internal/config.h:37: static std::unique_ptr<Configuration> Create(); On 2017/05/05 23:36:28, David Trainor-ping if ...
3 years, 7 months ago (2017-05-06 00:55:02 UTC) #10
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/2866483002/80001
3 years, 7 months ago (2017-05-06 02:32:55 UTC) #17
commit-bot: I haz the power
3 years, 7 months ago (2017-05-06 19:12:39 UTC) #20
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/a3b9a27415726553953ea3f0d1c9...

Powered by Google App Engine
This is Rietveld 408576698