Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.h |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.h |
index a5ffeeca179fb1b03534f2c245c6b06855dc7c3c..ff0db600eee016574ae06cc5c98d383587cdab03 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.h |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol.h |
@@ -25,6 +25,18 @@ class DataReductionProxyConfig; |
class DataReductionProxyBypassProtocol |
: public net::NetworkChangeNotifier::IPAddressObserver { |
public: |
+ // Enum values that can be reported for the |
+ // DataReductionProxy.ResponseProxyServerStatus histogram. These values must |
+ // be kept in sync with their counterparts in histograms.xml. Visible here for |
+ // testing purposes. |
+ enum ResponseProxyServerStatus { |
+ RESPONSE_PROXY_SERVER_STATUS_EMPTY = 0, |
+ RESPONSE_PROXY_SERVER_STATUS_DRP, |
+ RESPONSE_PROXY_SERVER_STATUS_NON_DRP_NO_VIA, |
+ RESPONSE_PROXY_SERVER_STATUS_NON_DRP_WITH_VIA, |
+ RESPONSE_PROXY_SERVER_STATUS_MAX |
+ }; |
+ |
// Constructs a DataReductionProxyBypassProtocol object. |config| must be |
// non-NULL and outlive |this|. |
DataReductionProxyBypassProtocol(DataReductionProxyConfig* config); |