diff options
author | megjablon@chromium.org <megjablon@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-01 19:01:27 +0000 |
---|---|---|
committer | megjablon@chromium.org <megjablon@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-01 19:01:27 +0000 |
commit | adc6eb89e31942c80eda20db6abb1391c5b0a159 (patch) | |
tree | d1952d7146f9887cf2af1d4dd15e8cc2bd5fb8fe /components/data_reduction_proxy/common/data_reduction_proxy_headers.h | |
parent | 741a177f3c1c8930e84dc3ced31bb50150c0b547 (diff) | |
download | chromium_src-adc6eb89e31942c80eda20db6abb1391c5b0a159.zip chromium_src-adc6eb89e31942c80eda20db6abb1391c5b0a159.tar.gz chromium_src-adc6eb89e31942c80eda20db6abb1391c5b0a159.tar.bz2 |
Update data reduction bypass UMA to reflect modern usage.
Created new UMAs DataReductionProxy.BypassType{Primary|Fallback} and DataReductionProxy.BlockType{Primary|Fallback} that add bypass types to more specifically track the bypass reason. Deprecated DataReductionProxy.BypassInfo{Primary|Fallback}.
BUG=373978
Review URL: https://codereview.chromium.org/348553006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280857 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/data_reduction_proxy/common/data_reduction_proxy_headers.h')
-rw-r--r-- | components/data_reduction_proxy/common/data_reduction_proxy_headers.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/data_reduction_proxy/common/data_reduction_proxy_headers.h b/components/data_reduction_proxy/common/data_reduction_proxy_headers.h index 88b0cd0..50aea24 100644 --- a/components/data_reduction_proxy/common/data_reduction_proxy_headers.h +++ b/components/data_reduction_proxy/common/data_reduction_proxy_headers.h @@ -12,6 +12,8 @@ #include "net/http/http_response_headers.h" #include "net/proxy/proxy_service.h" +using net::ProxyService; + namespace data_reduction_proxy { // Contains instructions contained in the Chrome-Proxy header. @@ -43,8 +45,7 @@ bool HasDataReductionProxyViaHeader(const net::HttpResponseHeaders* headers); // Returns the reason why the Chrome proxy should be bypassed or not, and // populates |proxy_info| with information on how long to bypass if // applicable. -net::ProxyService::DataReductionProxyBypassEventType -GetDataReductionProxyBypassEventType( +ProxyService::DataReductionProxyBypassType GetDataReductionProxyBypassType( const net::HttpResponseHeaders* headers, DataReductionProxyInfo* proxy_info); |