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

Unified Diff: net/http/http_response_headers.cc

Issue 266033002: Collect data reduction proxy UMA on all platforms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove ifdef from HttpResponseHeaders::IsDataReductionProxyResponse() Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_response_headers.h ('k') | net/http/http_response_headers_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_response_headers.cc
diff --git a/net/http/http_response_headers.cc b/net/http/http_response_headers.cc
index 940c0484fad87939cec6a948ea7ae0421d4319b6..7ecf37a2352704f02685e9012c64a04c296999bd 100644
--- a/net/http/http_response_headers.cc
+++ b/net/http/http_response_headers.cc
@@ -1451,6 +1451,7 @@ bool HttpResponseHeaders::GetDataReductionProxyInfo(
}
return false;
}
+#endif // SPDY_PROXY_AUTH_ORIGIN
bool HttpResponseHeaders::IsDataReductionProxyResponse() const {
const size_t kVersionSize = 4;
@@ -1479,6 +1480,7 @@ bool HttpResponseHeaders::IsDataReductionProxyResponse() const {
return false;
}
+#if defined(SPDY_PROXY_AUTH_ORIGIN)
ProxyService::DataReductionProxyBypassEventType
HttpResponseHeaders::GetDataReductionProxyBypassEventType(
DataReductionProxyInfo* data_reduction_proxy_info) const {
« no previous file with comments | « net/http/http_response_headers.h ('k') | net/http/http_response_headers_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698