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

Issue 2575323002: Store data reduction proxy server in a separate class (Closed)

Created:
4 years ago by tbansal1
Modified:
4 years ago
Reviewers:
RyanSturm, jpfeiff
CC:
chromium-reviews, tbansal+watch-data-reduction-proxy_chromium.org, megjablon
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Store data reduction proxy server in a separate class Also, deprecate QUIC as a ProxyScheme, and deprecate refresh_time from the client config proto. A new class DataReductionProxyServer is added that stores the net::ProxyServer information of the DRP server, along with other attributes. For users with client config services, these attributes are populated from the client config. For users with hard-coded proxy, attributes are also hard-coded. The attributes are currently unused, and will be used in a subsequent CL. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester BUG=570435, 671810, 675769 Committed: https://crrev.com/88c417dfd4be5d9b22cbff9795a9ee3a2f081e02 Cr-Commit-Position: refs/heads/master@{#439670}

Patch Set 1 : ps #

Total comments: 8

Patch Set 2 : ps #

Total comments: 8

Patch Set 3 : ryansturm comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+511 lines, -205 lines) Patch
M components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats.cc View 1 5 chunks +5 lines, -11 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc View 1 4 chunks +14 lines, -5 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc View 1 4 chunks +9 lines, -5 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc View 1 5 chunks +15 lines, -11 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client_unittest.cc View 1 2 6 chunks +109 lines, -27 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc View 1 3 chunks +56 lines, -34 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate_unittest.cc View 1 5 chunks +17 lines, -9 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc View 1 4 chunks +11 lines, -4 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc View 1 2 chunks +6 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.h View 1 4 chunks +5 lines, -4 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.cc View 1 3 chunks +3 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values_unittest.cc View 1 4 chunks +60 lines, -31 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.h View 1 3 chunks +3 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M components/data_reduction_proxy/core/common/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_config_values.h View 1 2 chunks +4 lines, -5 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params.h View 1 5 chunks +11 lines, -5 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc View 1 7 chunks +35 lines, -14 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h View 1 2 chunks +3 lines, -5 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params_unittest.cc View 1 5 chunks +40 lines, -18 lines 0 comments Download
A components/data_reduction_proxy/core/common/data_reduction_proxy_server.h View 1 2 1 chunk +44 lines, -0 lines 0 comments Download
A components/data_reduction_proxy/core/common/data_reduction_proxy_server.cc View 1 2 1 chunk +34 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_util.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M components/data_reduction_proxy/proto/client_config.proto View 3 chunks +12 lines, -2 lines 0 comments Download

Messages

Total messages: 65 (54 generated)
tbansal1
jpfeiff: ptal at proto file megjablon: ptal at * Thanks.
4 years ago (2016-12-15 20:49:54 UTC) #26
tbansal1
ryansturm: ptal since you looked at the design docs. Thanks
4 years ago (2016-12-15 22:31:47 UTC) #35
RyanSturm
https://codereview.chromium.org/2575323002/diff/90001/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats.cc (right): https://codereview.chromium.org/2575323002/diff/90001/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats.cc#newcode23 components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats.cc:23: using net::HostPortPair; remove these and fix the errors. https://codereview.chromium.org/2575323002/diff/90001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc ...
4 years ago (2016-12-15 23:21:42 UTC) #36
jpfeiff
lgtm LGTM for proto changes.
4 years ago (2016-12-15 23:44:24 UTC) #37
tbansal1
ryansturm: ptal. Thanks. Moving megjablon@ to cc' as part of cleanup. Please feel free to ...
4 years ago (2016-12-19 18:49:03 UTC) #45
RyanSturm
I'm still looking at tests, but I will likely find no more comments. https://codereview.chromium.org/2575323002/diff/90001/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats.cc File ...
4 years ago (2016-12-19 21:15:19 UTC) #46
RyanSturm
lgtm % previous comments
4 years ago (2016-12-19 21:24:46 UTC) #47
tbansal1
https://codereview.chromium.org/2575323002/diff/110001/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/2575323002/diff/110001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc#newcode414 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc:414: DataReductionProxyServer::ConvertToNetProxyServers( On 2016/12/19 21:15:18, Ryan Sturm wrote: > Can ...
4 years ago (2016-12-19 23:23:57 UTC) #54
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/2575323002/170001
4 years ago (2016-12-20 02:12:49 UTC) #60
commit-bot: I haz the power
Committed patchset #3 (id:170001)
4 years ago (2016-12-20 02:18:20 UTC) #63
commit-bot: I haz the power
4 years ago (2016-12-20 02:21:41 UTC) #65
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/88c417dfd4be5d9b22cbff9795a9ee3a2f081e02
Cr-Commit-Position: refs/heads/master@{#439670}

Powered by Google App Engine
This is Rietveld 408576698