summaryrefslogtreecommitdiffstats
path: root/net/http/http_response_headers_unittest.cc
diff options
context:
space:
mode:
authorbengr@chromium.org <bengr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-11 01:09:33 +0000
committerbengr@chromium.org <bengr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-11 01:09:33 +0000
commitdeb75386a270bb0a80d2b8995e706f235d07505d (patch)
tree1c212cf718cf655995d02d57440964a7820453b4 /net/http/http_response_headers_unittest.cc
parent11f57082f87c2703b5333f75ba4c437e7ee9f131 (diff)
downloadchromium_src-deb75386a270bb0a80d2b8995e706f235d07505d.zip
chromium_src-deb75386a270bb0a80d2b8995e706f235d07505d.tar.gz
chromium_src-deb75386a270bb0a80d2b8995e706f235d07505d.tar.bz2
Collect data reduction proxy UMA on all platforms
UMA for the data reduction proxy was gated behind preprocessor directives that resticted the logic to Android and iOS. This change opens UMA calculations and collection up to all platforms. BUG=369619 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269026 Review URL: https://codereview.chromium.org/266033002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269670 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_response_headers_unittest.cc')
-rw-r--r--net/http/http_response_headers_unittest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/http/http_response_headers_unittest.cc b/net/http/http_response_headers_unittest.cc
index fe656e6..c9c8c46 100644
--- a/net/http/http_response_headers_unittest.cc
+++ b/net/http/http_response_headers_unittest.cc
@@ -2107,6 +2107,7 @@ TEST(HttpResponseHeadersTest, GetProxyBypassInfo) {
data_reduction_proxy_info.bypass_all);
}
}
+#endif // defined(SPDY_PROXY_AUTH_ORIGIN)
TEST(HttpResponseHeadersTest, IsDataReductionProxyResponse) {
const struct {
@@ -2182,6 +2183,7 @@ TEST(HttpResponseHeadersTest, IsDataReductionProxyResponse) {
}
}
+#if defined(SPDY_PROXY_AUTH_ORIGIN)
TEST(HttpResponseHeadersTest, GetDataReductionProxyBypassEventType) {
const struct {
const char* headers;