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

Issue 464023002: Fixed DataReductionProxyParams::AreProxiesBypassed logic (Closed)

Created:
6 years, 4 months ago by megjablon
Modified:
6 years, 3 months ago
Reviewers:
bengr
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

If the primary data reduction proxy is disabled, it won't appear in the retry info map, even if all data reduction proxies are bypassed. Therefore, to check if all data reduction proxies are bypassed, consider two cases: !fallback_allowed: if the primary is on the map, we consider all data reduction proxies to be bypassed. fallback_allowed: if (at least) the fallback is on the map, we consider all data reduction proxies to be bypassed. We still see if the primary is in the map to check if it has the min_retry_delay. BUG=401281 Committed: https://crrev.com/cb7f288df05ca48c13f311c7a0d89150a227da3e Cr-Commit-Position: refs/heads/master@{#291799}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Addressed bengr comments #

Total comments: 10

Patch Set 3 : Switching logic back #

Total comments: 4

Patch Set 4 : Setting proxy delay to max #

Total comments: 6

Patch Set 5 : Addressed bengr comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -37 lines) Patch
M components/data_reduction_proxy/browser/data_reduction_proxy_params.cc View 1 2 3 4 2 chunks +40 lines, -28 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_params_unittest.cc View 1 2 3 chunks +24 lines, -9 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
megjablon
https://codereview.chromium.org/464023002/diff/1/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc File components/data_reduction_proxy/browser/data_reduction_proxy_params.cc (right): https://codereview.chromium.org/464023002/diff/1/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc#newcode373 components/data_reduction_proxy/browser/data_reduction_proxy_params.cc:373: return true; Ben, with the proxy logic does this ...
6 years, 4 months ago (2014-08-12 21:06:54 UTC) #1
megjablon
6 years, 4 months ago (2014-08-15 01:08:23 UTC) #2
bengr
https://codereview.chromium.org/464023002/diff/20001/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc File components/data_reduction_proxy/browser/data_reduction_proxy_params.cc (right): https://codereview.chromium.org/464023002/diff/20001/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc#newcode406 components/data_reduction_proxy/browser/data_reduction_proxy_params.cc:406: // If the request is https, we only care ...
6 years, 4 months ago (2014-08-15 01:15:07 UTC) #3
megjablon
https://codereview.chromium.org/464023002/diff/20001/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc File components/data_reduction_proxy/browser/data_reduction_proxy_params.cc (right): https://codereview.chromium.org/464023002/diff/20001/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc#newcode406 components/data_reduction_proxy/browser/data_reduction_proxy_params.cc:406: // If the request is https, we only care ...
6 years, 4 months ago (2014-08-15 02:01:35 UTC) #4
bengr
https://codereview.chromium.org/464023002/diff/80001/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc File components/data_reduction_proxy/browser/data_reduction_proxy_params.cc (right): https://codereview.chromium.org/464023002/diff/80001/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc#newcode441 components/data_reduction_proxy/browser/data_reduction_proxy_params.cc:441: if (found != retry_map.end()) { You don't have to ...
6 years, 4 months ago (2014-08-15 06:16:06 UTC) #5
bengr
https://codereview.chromium.org/464023002/diff/80001/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc File components/data_reduction_proxy/browser/data_reduction_proxy_params.cc (right): https://codereview.chromium.org/464023002/diff/80001/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc#newcode441 components/data_reduction_proxy/browser/data_reduction_proxy_params.cc:441: if (found != retry_map.end()) { On 2014/08/15 06:16:06, bengr1 ...
6 years, 4 months ago (2014-08-15 17:58:57 UTC) #6
megjablon
https://codereview.chromium.org/464023002/diff/80001/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc File components/data_reduction_proxy/browser/data_reduction_proxy_params.cc (right): https://codereview.chromium.org/464023002/diff/80001/components/data_reduction_proxy/browser/data_reduction_proxy_params.cc#newcode456 components/data_reduction_proxy/browser/data_reduction_proxy_params.cc:456: delay = found->second.current_delay; On 2014/08/15 06:16:05, bengr1 wrote: > ...
6 years, 4 months ago (2014-08-15 19:04:24 UTC) #7
bengr
lgtm
6 years, 4 months ago (2014-08-25 21:59:00 UTC) #8
megjablon
The CQ bit was checked by megjablon@chromium.org
6 years, 4 months ago (2014-08-25 22:28:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/megjablon@chromium.org/464023002/120001
6 years, 4 months ago (2014-08-25 22:30:00 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (120001) as 8951c1c755dc8967ce33d52528642e48457c4dda
6 years, 4 months ago (2014-08-26 00:22:16 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:38:56 UTC) #12
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/cb7f288df05ca48c13f311c7a0d89150a227da3e
Cr-Commit-Position: refs/heads/master@{#291799}

Powered by Google App Engine
This is Rietveld 408576698