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

Unified Diff: net/proxy/proxy_server.cc

Issue 382313003: Add data reduction functionality to all platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
Index: net/proxy/proxy_server.cc
diff --git a/net/proxy/proxy_server.cc b/net/proxy/proxy_server.cc
index b0997e0a0fa8ec31d0fbc06f55bebdc2f27ce035..1a8df767627abadde57ed1cc96518504cd02287c 100644
--- a/net/proxy/proxy_server.cc
+++ b/net/proxy/proxy_server.cc
@@ -220,7 +220,6 @@ ProxyServer::Scheme ProxyServer::GetSchemeFromURI(const std::string& scheme) {
}
// TODO(bengr): Use |scheme_| to indicate that this is the data reduction proxy.
-#if defined(SPDY_PROXY_AUTH_ORIGIN)
bool ProxyServer::isDataReductionProxy() const {
bool dev_host = false;
#if defined (DATA_REDUCTION_DEV_HOST)
@@ -238,7 +237,6 @@ bool ProxyServer::isDataReductionProxyFallback() const {
#endif // defined(DATA_REDUCTION_FALLBACK_HOST)
return false;
}
-#endif // defined(SPDY_PROXY_AUTH_ORIGIN)
// static
ProxyServer ProxyServer::FromSchemeHostAndPort(

Powered by Google App Engine
This is Rietveld 408576698