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

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

Issue 792803007: Make Data Reduction Proxy a best effort proxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated tests Created 5 years, 11 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.h
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h
index 17dc32f9f52a5e7c9ea2434f3673d1f12fc1deb5..90398b25f862783a8985ec764d9eeb6b1801c402 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h
@@ -47,15 +47,14 @@ class DataReductionProxyUsageStats;
class DataReductionProxyNetworkDelegate : public net::LayeredNetworkDelegate {
public:
// Provides an opportunity to interpose on proxy resolution. Called before
- // ProxyService.ResolveProxy() returns. Two proxy configurations are provided
- // that specify the data reduction proxy's configuration and the effective
- // configuration according to the proxy service, respectively. Retry info is
- // presumed to be from the proxy service.
+ // ProxyService.ResolveProxy() returns. The Data Reduction Proxy's
+ // configuration is provided along with the resolution for this URL, in
+ // |result|, whch may be modified. Retry info is presumed to be from the proxy
+ // service.
typedef base::Callback<void(
const GURL& url,
int load_flags,
const net::ProxyConfig& data_reduction_proxy_config,
- const net::ProxyConfig& proxy_service_proxy_config,
const net::ProxyRetryInfoMap& proxy_retry_info_map,
const DataReductionProxyParams* params,
net::ProxyInfo* result)> OnResolveProxyHandler;

Powered by Google App Engine
This is Rietveld 408576698