Adds UMA to measure when the data reduction proxy via header is missing
commitba1e1e3f7ea6edae987e6cfa92086807bf74260b
authorsclittle <sclittle@chromium.org>
Tue, 23 Sep 2014 23:22:00 +0000 (23 16:22 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 23 Sep 2014 23:22:29 +0000 (23 23:22 +0000)
treeccf0234968f5f8e884cac150875034577cc52f04
parent46cbfd62f398472650985747d459bb7869578918
Adds UMA to measure when the data reduction proxy via header is missing

Keep track of the situations when Chrome expects the data reduction
proxy via header to be present in a response, but the data reduction
proxy via header is missing.

BUG=412888

Review URL: https://codereview.chromium.org/577343002

Cr-Commit-Position: refs/heads/master@{#296297}
13 files changed:
chrome/browser/net/chrome_network_delegate.cc
components/data_reduction_proxy.gypi
components/data_reduction_proxy/browser/data_reduction_proxy_protocol.cc
components/data_reduction_proxy/browser/data_reduction_proxy_protocol_unittest.cc
components/data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.cc
components/data_reduction_proxy/browser/data_reduction_proxy_tamper_detection_unittest.cc
components/data_reduction_proxy/browser/data_reduction_proxy_usage_stats.cc
components/data_reduction_proxy/browser/data_reduction_proxy_usage_stats.h
components/data_reduction_proxy/browser/data_reduction_proxy_usage_stats_unittest.cc
components/data_reduction_proxy/common/data_reduction_proxy_headers_test_utils.cc [new file with mode: 0644]
components/data_reduction_proxy/common/data_reduction_proxy_headers_test_utils.h [new file with mode: 0644]
components/data_reduction_proxy/common/data_reduction_proxy_headers_unittest.cc
tools/metrics/histograms/histograms.xml