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

Issue 1132083004: Enable an option to only use the secure Data Reduction Proxy when the secure proxy check succeeds. (Closed)

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

Description

Enable an option to only use the secure Data Reduction Proxy when the secure proxy check succeeds. Instead of being optimistic about using the secure proxy (i.e. use it unless the check fails), flip the logic so that the secure proxy is not used unless the check succeeds. BUG=466753 Committed: https://crrev.com/2f0a5eba99e3d233b0c2a6a65402a5dbefa5537d Cr-Commit-Position: refs/heads/master@{#329961}

Patch Set 1 #

Patch Set 2 : Add new enum value for SecureProxyCheckFetchResult #

Total comments: 10

Patch Set 3 : bengr CR comments #

Total comments: 2

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -97 lines) Patch
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h View 1 2 3 3 chunks +9 lines, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc View 1 2 3 10 chunks +30 lines, -22 lines 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_config_test_utils.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc View 2 chunks +7 lines, -6 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc View 1 2 3 6 chunks +72 lines, -52 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_switches.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 3 chunks +11 lines, -10 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
jeremyim
PTAL!
5 years, 7 months ago (2015-05-12 03:37:34 UTC) #2
bengr
https://codereview.chromium.org/1132083004/diff/20001/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/1132083004/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc#newcode109 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc:109: DataReductionProxyParams::ShouldUseSecureProxyByDefault()), Names. Maybe this should be called secure_proxy_check_required_ and ...
5 years, 7 months ago (2015-05-12 17:16:15 UTC) #3
jeremyim
https://codereview.chromium.org/1132083004/diff/20001/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/1132083004/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc#newcode109 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc:109: DataReductionProxyParams::ShouldUseSecureProxyByDefault()), On 2015/05/12 17:16:14, bengr wrote: > Names. Maybe ...
5 years, 7 months ago (2015-05-12 20:57:59 UTC) #4
bengr
https://codereview.chromium.org/1132083004/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h File components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h (right): https://codereview.chromium.org/1132083004/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h#newcode268 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h:268: // Indicates if the secure Data Reduction Proxy can ...
5 years, 7 months ago (2015-05-14 15:50:34 UTC) #5
jeremyim
https://codereview.chromium.org/1132083004/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h File components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h (right): https://codereview.chromium.org/1132083004/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h#newcode268 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h:268: // Indicates if the secure Data Reduction Proxy can ...
5 years, 7 months ago (2015-05-14 15:55:33 UTC) #6
bengr
lgtm
5 years, 7 months ago (2015-05-14 18:25:08 UTC) #7
jeremyim
asvitkine: Please review changes in histograms.xml Thanks!
5 years, 7 months ago (2015-05-14 18:34:28 UTC) #9
Alexei Svitkine (slow)
lgtm
5 years, 7 months ago (2015-05-14 20:40:41 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1132083004/40001
5 years, 7 months ago (2015-05-14 21:21:17 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/63747)
5 years, 7 months ago (2015-05-14 21:30:46 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1132083004/60001
5 years, 7 months ago (2015-05-14 21:39:53 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 7 months ago (2015-05-14 22:40:07 UTC) #18
commit-bot: I haz the power
5 years, 7 months ago (2015-05-14 22:40:52 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2f0a5eba99e3d233b0c2a6a65402a5dbefa5537d
Cr-Commit-Position: refs/heads/master@{#329961}

Powered by Google App Engine
This is Rietveld 408576698