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

Issue 1141023002: Record UMA about the response's proxy_server in the DRP bypass logic. (Closed)

Created:
5 years, 7 months ago by sclittle
Modified:
5 years, 7 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, bengr, Not at Google. Contact bengr
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Record UMA about the response's proxy_server in the DRP bypass logic. This will help us analyze how often the Data Reduction Proxy bypass logic is applied for proxies that don't match the currently configured Data Reduction Proxies, but do have the DRP via header in the response. BUG=487852 Committed: https://crrev.com/c29c04b5a355aebe0f4d8f1fac7ea79ebaa8e1eb Cr-Commit-Position: refs/heads/master@{#329924}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed nits #

Total comments: 4

Patch Set 3 : Addressed comments #

Total comments: 2

Patch Set 4 : Addressed nit #

Patch Set 5 : Rebased on master #

Patch Set 6 : Rebased on master again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -149 lines) Patch
M components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.h View 1 chunk +12 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc View 1 2 3 4 5 5 chunks +25 lines, -8 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc View 1 2 3 5 chunks +109 lines, -43 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc View 2 chunks +1 line, -14 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client_unittest.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc View 1 1 chunk +5 lines, -13 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator_unittest.cc View 1 2 chunks +1 line, -12 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc View 2 chunks +0 lines, -10 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc View 1 chunk +4 lines, -12 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options_unittest.cc View 1 chunk +1 line, -10 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.cc View 1 2 chunks +0 lines, -8 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc View 2 chunks +0 lines, -14 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc View 1 chunk +7 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 2 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (10 generated)
sclittle
jeremyim: components/data_reduction_proxy asvitkine: histograms.xml Thanks in advance!
5 years, 7 months ago (2015-05-13 23:18:20 UTC) #2
jeremyim
components/data_reduction_proxy lgtm % nit https://codereview.chromium.org/1141023002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc (right): https://codereview.chromium.org/1141023002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc#newcode23 components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc:23: #include "components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h" This (and data_reduction_proxy_params.h) ...
5 years, 7 months ago (2015-05-14 00:02:42 UTC) #3
sclittle
https://codereview.chromium.org/1141023002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc (right): https://codereview.chromium.org/1141023002/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc#newcode23 components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc:23: #include "components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h" On 2015/05/14 00:02:42, jeremyim wrote: > This ...
5 years, 7 months ago (2015-05-14 01:10:41 UTC) #4
Alexei Svitkine (slow)
https://codereview.chromium.org/1141023002/diff/20001/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/1141023002/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc#newcode7 components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc:7: #include "base/metrics/histogram.h" Include histogram_macros.h instead. https://codereview.chromium.org/1141023002/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc#newcode95 components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc:95: UMA_HISTOGRAM_ENUMERATION("DataReductionProxy.ResponseProxyServerStatus", Each ...
5 years, 7 months ago (2015-05-14 14:54:44 UTC) #5
sclittle
https://codereview.chromium.org/1141023002/diff/20001/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/1141023002/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc#newcode7 components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.cc:7: #include "base/metrics/histogram.h" On 2015/05/14 14:54:44, Alexei Svitkine wrote: > ...
5 years, 7 months ago (2015-05-14 17:59:51 UTC) #6
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/1141023002/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc (right): https://codereview.chromium.org/1141023002/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc#newcode805 components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc:805: }; Nit: DISALLOW_COPY_AND_ASSIGN
5 years, 7 months ago (2015-05-14 18:01:19 UTC) #7
sclittle
https://codereview.chromium.org/1141023002/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc (right): https://codereview.chromium.org/1141023002/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc#newcode805 components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc:805: }; On 2015/05/14 18:01:19, Alexei Svitkine wrote: > Nit: ...
5 years, 7 months ago (2015-05-14 18:05:59 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1141023002/60001
5 years, 7 months ago (2015-05-14 18:06:52 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/53043) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 7 months ago (2015-05-14 18:12:59 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1141023002/80001
5 years, 7 months ago (2015-05-14 18:31:28 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/53055) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 7 months ago (2015-05-14 18:38:38 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1141023002/100001
5 years, 7 months ago (2015-05-14 18:40:33 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 7 months ago (2015-05-14 20:41:42 UTC) #23
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/c29c04b5a355aebe0f4d8f1fac7ea79ebaa8e1eb Cr-Commit-Position: refs/heads/master@{#329924}
5 years, 7 months ago (2015-05-14 20:43:15 UTC) #24
sclittle
5 years, 7 months ago (2015-05-14 21:32:14 UTC) #25
Message was sent while issue was closed.

          

Powered by Google App Engine
This is Rietveld 408576698