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

Issue 1989393004: Remove unnecessary DRPConfiguratorTestUtils and add more DRPConfig tests (Closed)

Created:
4 years, 7 months ago by sclittle
Modified:
4 years, 7 months ago
Reviewers:
tbansal1
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@tarun_test_changes
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove unnecessary DRPConfiguratorTestUtils and add more DRPConfig tests The TestDRPConfigurator served no purpose, so this CL removes it. This CL also changes some of the DRPConfig tests around the secure proxy check to test that HTTPS proxies are removed from the effective proxy lists. This CL also contains miscellaneous cleanup of DRPConfig that doesn't affect the functionality of that class, only the performance and readability. BUG=613021 Committed: https://crrev.com/be89059015aa60b12762b5858be2ad98203b7319 Cr-Commit-Position: refs/heads/master@{#394929}

Patch Set 1 #

Patch Set 2 : Removed unused function from config_unittest. #

Total comments: 8

Patch Set 3 : Fixed comment #

Patch Set 4 : Fix failing DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -315 lines) Patch
M components/data_reduction_proxy.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc View 8 chunks +30 lines, -29 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client_unittest.cc View 21 chunks +38 lines, -54 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc View 1 10 chunks +139 lines, -70 lines 0 comments Download
D components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator_test_utils.h View 1 chunk +0 lines, -64 lines 0 comments Download
D components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator_test_utils.cc View 1 chunk +0 lines, -40 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate_unittest.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc View 7 chunks +18 lines, -5 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.h View 1 2 7 chunks +11 lines, -18 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc View 1 2 3 8 chunks +23 lines, -28 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 18 (10 generated)
sclittle
4 years, 7 months ago (2016-05-19 00:22:49 UTC) #3
tbansal1
lgtm %nits. https://codereview.chromium.org/1989393004/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc (right): https://codereview.chromium.org/1989393004/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc#newcode104 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc:104: base::StringPiece prefix, pass by ref? https://codereview.chromium.org/1989393004/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc#newcode360 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc:360: ...
4 years, 7 months ago (2016-05-19 01:07:54 UTC) #5
sclittle
https://codereview.chromium.org/1989393004/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc (right): https://codereview.chromium.org/1989393004/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc#newcode104 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc:104: base::StringPiece prefix, On 2016/05/19 01:07:54, tbansal1 wrote: > pass ...
4 years, 7 months ago (2016-05-19 02:25:22 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1989393004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1989393004/40001
4 years, 7 months ago (2016-05-19 02:25:56 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/215113)
4 years, 7 months ago (2016-05-19 03:09:20 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1989393004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1989393004/60001
4 years, 7 months ago (2016-05-19 20:51:44 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-20 00:35:24 UTC) #16
commit-bot: I haz the power
4 years, 7 months ago (2016-05-20 00:38:03 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/be89059015aa60b12762b5858be2ad98203b7319
Cr-Commit-Position: refs/heads/master@{#394929}

Powered by Google App Engine
This is Rietveld 408576698