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

Issue 836583002: Add support for field trial group to relax missing via header bypass logic. (Closed)

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

Description

Add support for field trial group to relax missing via header bypass logic. This change refactors the bypass logic into a class and adds support for a new group in the DataReductionProxyRemoveMissingViaHeaderOtherBypass field trial. This new group relaxes the non-4xx response missing via header bypass logic to only apply to the first response through the proxy after a network change. BUG=413035, 409466 Committed: https://crrev.com/db1198c5327b5c69b93fafd814b9f516b88a15fd Cr-Commit-Position: refs/heads/master@{#310698}

Patch Set 1 #

Total comments: 18

Patch Set 2 : Addressed comments #

Total comments: 8

Patch Set 3 : Addressed comments #

Total comments: 4

Patch Set 4 : Rebased on master and addressed comments #

Patch Set 5 : Updated BUILD.gn #

Patch Set 6 : Removed unused include from aw_url_request_context_getter.cc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+500 lines, -1554 lines) Patch
M android_webview/browser/net/aw_url_request_context_getter.cc View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/io_thread.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M components/components_tests.gyp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/data_reduction_proxy.gypi View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/BUILD.gn View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_auth_request_handler.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
A components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.h View 1 2 1 chunk +72 lines, -0 lines 0 comments Download
A + components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc View 1 2 3 9 chunks +83 lines, -85 lines 0 comments Download
A + components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc View 1 2 3 12 chunks +94 lines, -183 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h View 1 2 3 chunks +10 lines, -4 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc View 1 2 3 chunks +6 lines, -5 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h View 1 2 3 3 chunks +15 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 +38 lines, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc View 1 2 3 3 chunks +162 lines, -0 lines 0 comments Download
D components/data_reduction_proxy/core/browser/data_reduction_proxy_protocol.h View 1 2 1 chunk +0 lines, -77 lines 0 comments Download
D components/data_reduction_proxy/core/browser/data_reduction_proxy_protocol.cc View 1 2 3 1 chunk +0 lines, -222 lines 0 comments Download
D components/data_reduction_proxy/core/browser/data_reduction_proxy_protocol_unittest.cc View 1 2 3 1 chunk +0 lines, -967 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (9 generated)
sclittle
bengr: all Thanks in advance!
5 years, 11 months ago (2015-01-03 03:35:50 UTC) #2
bengr
https://codereview.chromium.org/836583002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h File components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h (right): https://codereview.chromium.org/836583002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h#newcode56 components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h:56: scoped_ptr<DataReductionProxyProtocol> protocol_; Add a comment describing what this is. ...
5 years, 11 months ago (2015-01-05 22:21:39 UTC) #3
sclittle
https://codereview.chromium.org/836583002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h File components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h (right): https://codereview.chromium.org/836583002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h#newcode56 components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.h:56: scoped_ptr<DataReductionProxyProtocol> protocol_; On 2015/01/05 22:21:38, bengr wrote: > Add ...
5 years, 11 months ago (2015-01-06 00:18:37 UTC) #5
sclittle
mmenke: chrome/browser/io_thread.cc, chrome/browser/profiles/profile_impl_io_data.cc I renamed a file, so the includes in these files were changed.
5 years, 11 months ago (2015-01-06 01:52:44 UTC) #7
mmenke
On 2015/01/06 01:52:44, sclittle wrote: > mmenke: chrome/browser/io_thread.cc, > chrome/browser/profiles/profile_impl_io_data.cc > > I renamed a ...
5 years, 11 months ago (2015-01-06 19:07:46 UTC) #8
bengr
https://codereview.chromium.org/836583002/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc (right): https://codereview.chromium.org/836583002/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc#newcode221 components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc:221: void OnResolveProxyHandler(const GURL& url, This has nothing to do ...
5 years, 11 months ago (2015-01-07 00:55:03 UTC) #9
sclittle
https://codereview.chromium.org/836583002/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc (right): https://codereview.chromium.org/836583002/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc#newcode221 components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc:221: void OnResolveProxyHandler(const GURL& url, On 2015/01/07 00:55:02, bengr wrote: ...
5 years, 11 months ago (2015-01-07 01:51:27 UTC) #10
bengr
https://codereview.chromium.org/836583002/diff/60001/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc (right): https://codereview.chromium.org/836583002/diff/60001/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc#newcode27 components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc:27: bypass_protocol_( Does this even need to be dynamically allocated? ...
5 years, 11 months ago (2015-01-08 21:12:32 UTC) #11
sclittle
https://codereview.chromium.org/836583002/diff/60001/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc (right): https://codereview.chromium.org/836583002/diff/60001/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc#newcode27 components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc:27: bypass_protocol_( On 2015/01/08 21:12:32, bengr wrote: > Does this ...
5 years, 11 months ago (2015-01-08 22:10:53 UTC) #12
bengr
lgtm
5 years, 11 months ago (2015-01-08 23:14:06 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/836583002/80001
5 years, 11 months ago (2015-01-08 23:17:14 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/31414) linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/48163)
5 years, 11 months ago (2015-01-08 23:29:12 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/836583002/100001
5 years, 11 months ago (2015-01-08 23:35:45 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/43377)
5 years, 11 months ago (2015-01-09 00:06:05 UTC) #21
sclittle
sgurun: removed unused include from aw_url_request_context_getter.cc
5 years, 11 months ago (2015-01-09 02:00:25 UTC) #23
sgurun-gerrit only
On 2015/01/09 02:00:25, sclittle wrote: > sgurun: removed unused include from aw_url_request_context_getter.cc aw lgtm
5 years, 11 months ago (2015-01-09 02:15:05 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/836583002/120001
5 years, 11 months ago (2015-01-09 02:17:59 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:120001)
5 years, 11 months ago (2015-01-09 03:24:57 UTC) #27
commit-bot: I haz the power
5 years, 11 months ago (2015-01-09 03:25:52 UTC) #28
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/db1198c5327b5c69b93fafd814b9f516b88a15fd
Cr-Commit-Position: refs/heads/master@{#310698}

Powered by Google App Engine
This is Rietveld 408576698