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

Issue 2571993002: Cleanup DataReductionProxy (DRP) Brotli code (Closed)

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

Description

Cleanup DataReductionProxy (DRP) Brotli code Add thread checkers to request options class. Force the generation of the chrome-proxy header, and use it later when generating the MockWrite for the sockets in tests. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester BUG=634061 Committed: https://crrev.com/1d20801e2b126cfec1d66cb78c05082d0f90b3ba Cr-Commit-Position: refs/heads/master@{#438978}

Patch Set 1 : ps #

Total comments: 6

Patch Set 2 : ps #

Total comments: 2

Patch Set 3 : ps #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -66 lines) Patch
M components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc View 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 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 chunk +1 line, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h View 1 chunk +0 lines, -4 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc View 1 2 15 chunks +51 lines, -39 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc View 3 chunks +11 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.h View 5 chunks +11 lines, -5 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc View 4 chunks +8 lines, -9 lines 0 comments Download

Messages

Total messages: 43 (34 generated)
tbansal1
ryansturm: ptal. Thanks.
4 years ago (2016-12-14 01:39:46 UTC) #13
RyanSturm
lgtm % nits https://codereview.chromium.org/2571993002/diff/100001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc (left): https://codereview.chromium.org/2571993002/diff/100001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc#oldcode1077 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc:1077: FetchURLRequestAndVerifyBrotli(nullptr, response_headers, true, false); Why did ...
4 years ago (2016-12-15 20:34:28 UTC) #21
tbansal1
https://codereview.chromium.org/2571993002/diff/100001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc (left): https://codereview.chromium.org/2571993002/diff/100001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc#oldcode1077 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc:1077: FetchURLRequestAndVerifyBrotli(nullptr, response_headers, true, false); On 2016/12/15 20:34:28, Ryan Sturm ...
4 years ago (2016-12-15 21:26:48 UTC) #23
RyanSturm
https://codereview.chromium.org/2571993002/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc (right): https://codereview.chromium.org/2571993002/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc#newcode336 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc:336: if (!expect_cached && !expect_brotli) { Should this be if(expect_cached ...
4 years ago (2016-12-15 21:37:09 UTC) #25
tbansal1
https://codereview.chromium.org/2571993002/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc (right): https://codereview.chromium.org/2571993002/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc#newcode336 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc:336: if (!expect_cached && !expect_brotli) { On 2016/12/15 21:37:09, Ryan ...
4 years ago (2016-12-16 00:34:21 UTC) #30
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/2571993002/140001
4 years ago (2016-12-16 00:35:30 UTC) #33
commit-bot: I haz the power
Committed patchset #3 (id:140001)
4 years ago (2016-12-16 01:50:22 UTC) #36
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/1d20801e2b126cfec1d66cb78c05082d0f90b3ba Cr-Commit-Position: refs/heads/master@{#438978}
4 years ago (2016-12-16 01:54:07 UTC) #38
Mathieu
4 years ago (2016-12-16 14:53:25 UTC) #39
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:140001) has been created in
https://codereview.chromium.org/2577413002/ by mathp@chromium.org.

The reason for reverting is: Reverting because it's hitting a DCHECK on top of
tree (android). It's going to make it hard for people to work.

Filed a bug at https://bugs.chromium.org/p/chromium/issues/detail?id=674918.

Powered by Google App Engine
This is Rietveld 408576698