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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc

Issue 2334623003: Store net::ProxyServer in HttpResponseInfo object (Closed)
Patch Set: Rebased, fix compile error Created 4 years, 2 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: components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc
index 4f587056a7fe8fcb0bc44afd17d9e7e80668fc7d..b45cd94e1ff1a66d2112ca0ca3233f63e6c7b10c 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc
@@ -258,7 +258,7 @@ void DataReductionProxyNetworkDelegate::OnBeforeSendHeadersInternal(
if (proxy_info.proxy_server().host_port_pair().IsEmpty())
return;
if (!data_reduction_proxy_config_->IsDataReductionProxy(
- proxy_info.proxy_server().host_port_pair(), nullptr)) {
+ proxy_info.proxy_server(), nullptr)) {
return;
}
@@ -442,7 +442,7 @@ bool DataReductionProxyNetworkDelegate::WasEligibleWithoutHoldback(
const net::ProxyRetryInfoMap& proxy_retry_info) const {
DCHECK(proxy_info.is_empty() || proxy_info.is_direct() ||
!data_reduction_proxy_config_->IsDataReductionProxy(
- proxy_info.proxy_server().host_port_pair(), nullptr));
+ proxy_info.proxy_server(), nullptr));
if (!util::EligibleForDataReductionProxy(proxy_info, request.url(),
request.method())) {
return false;
« no previous file with comments | « components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698