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

Issue 959913002: Create fluent Builder for DataReductionProxyTestContext. (Closed)

Created:
5 years, 10 months ago by jeremyim
Modified:
5 years, 10 months ago
Reviewers:
bengr, sclittle
CC:
chromium-reviews, darin-cc_chromium.org, cbentzel+watch_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Create fluent Builder for DataReductionProxyTestContext. This simplifies the way in which a DRP TestContext is created, in that optional parameters are specified with explicit methods on the Builder. BUG=461914 Committed: https://crrev.com/e9448c81348c4d10000654c29ac2c83a6cd76086 Cr-Commit-Position: refs/heads/master@{#318142}

Patch Set 1 #

Total comments: 20

Patch Set 2 : sclittle CR comments + 1 unittest cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+394 lines, -244 lines) Patch
M chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_unittest.cc View 2 chunks +30 lines, -26 lines 0 comments Download
M components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle_unittest.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc View 1 chunk +10 lines, -8 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc View 1 chunk +13 lines, -10 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc View 1 chunk +9 lines, -7 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc View 1 2 chunks +15 lines, -16 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options_unittest.cc View 1 chunk +10 lines, -9 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.cc View 1 chunk +13 lines, -10 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc View 2 chunks +42 lines, -36 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.h View 1 4 chunks +82 lines, -45 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc View 1 3 chunks +144 lines, -56 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats_unittest.cc View 2 chunks +17 lines, -14 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
jeremyim
PTAL!
5 years, 10 months ago (2015-02-25 21:25:08 UTC) #2
sclittle
I really like this; much cleaner now. Just some comments about style. https://codereview.chromium.org/959913002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc ...
5 years, 10 months ago (2015-02-25 21:49:17 UTC) #3
jeremyim
https://codereview.chromium.org/959913002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc (right): https://codereview.chromium.org/959913002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc#newcode124 components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc:124: make_scoped_ptr(new TestingPrefServiceSimple()); On 2015/02/25 21:49:17, sclittle wrote: > This ...
5 years, 10 months ago (2015-02-25 22:15:09 UTC) #4
sclittle
LGTM
5 years, 10 months ago (2015-02-25 22:19:21 UTC) #5
bengr
lgtm
5 years, 10 months ago (2015-02-25 23:01:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/959913002/20001
5 years, 10 months ago (2015-02-25 23:03:41 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-25 23:28:42 UTC) #9
commit-bot: I haz the power
5 years, 10 months ago (2015-02-25 23:29:09 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e9448c81348c4d10000654c29ac2c83a6cd76086
Cr-Commit-Position: refs/heads/master@{#318142}

Powered by Google App Engine
This is Rietveld 408576698