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

Issue 2566773002: Add Brotli to Accept Encoding header for secure DRP requests (Closed)

Created:
4 years ago by tbansal1
Modified:
4 years ago
Reviewers:
RyanSturm
CC:
chromium-reviews, tbansal+watch-data-reduction-proxy_chromium.org, harringtond, mmenke, Randy Smith (Not in Mondays)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Brotli to Accept Encoding header for secure DRP requests Add Brotli to Accept Encoding header if the request is fetched from a secure data reduction proxy (DRP) server, Brotli is enabled globally, and Brotli for data reduction proxy (DRP) is not disabled via field trial. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester BUG=634061 Committed: https://crrev.com/d3a49eedb67a035baf453f1c5695ccc8d14b923c Cr-Commit-Position: refs/heads/master@{#438307}

Patch Set 1 : ps #

Total comments: 8

Patch Set 2 : Rebased, ryansturm comments #

Patch Set 3 : Rebased, Fix test crash #

Patch Set 4 : Fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+378 lines, -23 lines) Patch
M components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h View 1 2 3 3 chunks +13 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc View 1 2 3 3 chunks +58 lines, -5 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc View 1 2 3 15 chunks +214 lines, -8 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.h View 1 2 3 4 chunks +11 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc View 1 2 3 5 chunks +24 lines, -3 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc View 1 1 chunk +10 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params_unittest.cc View 1 1 chunk +40 lines, -0 lines 0 comments Download

Messages

Total messages: 49 (41 generated)
tbansal1
ryansturm: ptal. Thanks.
4 years ago (2016-12-09 22:31:11 UTC) #6
tbansal1
CC'ing mmenke@chromium.org, rdsmith@chromium.org in case they are interested.
4 years ago (2016-12-09 22:34:25 UTC) #8
RyanSturm
https://codereview.chromium.org/2566773002/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc (right): https://codereview.chromium.org/2566773002/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc#newcode541 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc:541: DCHECK_EQ(std::string::npos, header_value.find(kBrotli)); Why is this true? Does this rely ...
4 years ago (2016-12-12 18:14:25 UTC) #12
tbansal1
ryansturm: ptal. Thanks. https://codereview.chromium.org/2566773002/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc (right): https://codereview.chromium.org/2566773002/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc#newcode541 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc:541: DCHECK_EQ(std::string::npos, header_value.find(kBrotli)); On 2016/12/12 18:14:24, Ryan ...
4 years ago (2016-12-12 23:59:34 UTC) #15
RyanSturm
lgtm
4 years ago (2016-12-13 00:14:14 UTC) #16
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/2566773002/200001
4 years ago (2016-12-13 21:59:11 UTC) #44
commit-bot: I haz the power
Committed patchset #4 (id:200001)
4 years ago (2016-12-13 22:06:07 UTC) #47
commit-bot: I haz the power
4 years ago (2016-12-13 22:09:23 UTC) #49
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d3a49eedb67a035baf453f1c5695ccc8d14b923c
Cr-Commit-Position: refs/heads/master@{#438307}

Powered by Google App Engine
This is Rietveld 408576698