Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.h |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.h |
index c0ea06bb6c299ece25353e7424117b82a785b01f..2cf6f7aa7381ba422295cad15bf5b4c0ff095b74 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.h |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.h |
@@ -41,21 +41,20 @@ class DataReductionProxyDelegate : public net::ProxyDelegate { |
const DataReductionProxyConfigurator* configurator, |
DataReductionProxyEventCreator* event_creator, |
DataReductionProxyBypassStats* bypass_stats, |
net::NetLog* net_log); |
~DataReductionProxyDelegate() override; |
// net::ProxyDelegate implementation: |
void OnResolveProxy(const GURL& url, |
const std::string& method, |
- int load_flags, |
const net::ProxyService& proxy_service, |
net::ProxyInfo* result) override; |
void OnFallback(const net::ProxyServer& bad_proxy, int net_error) override; |
void OnBeforeTunnelRequest(const net::HostPortPair& proxy_server, |
net::HttpRequestHeaders* extra_headers) override; |
void OnTunnelConnectCompleted(const net::HostPortPair& endpoint, |
const net::HostPortPair& proxy_server, |
int net_error) override; |
bool IsTrustedSpdyProxy(const net::ProxyServer& proxy_server) override; |
void OnTunnelHeadersReceived( |
@@ -73,18 +72,17 @@ class DataReductionProxyDelegate : public net::ProxyDelegate { |
DISALLOW_COPY_AND_ASSIGN(DataReductionProxyDelegate); |
}; |
// Adds data reduction proxies to |result|, where applicable, if result |
// otherwise uses a direct connection for |url|, and the data reduction proxy is |
// not bypassed. Also, configures |result| to proceed directly to the origin if |
// |result|'s current proxy is the data reduction proxy |
// This is visible for test purposes. |
void OnResolveProxyHandler(const GURL& url, |
const std::string& method, |
- int load_flags, |
const net::ProxyConfig& data_reduction_proxy_config, |
const net::ProxyRetryInfoMap& proxy_retry_info, |
const DataReductionProxyConfig* config, |
net::ProxyInfo* result); |
} // namespace data_reduction_proxy |
#endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_DELEGATE_H_ |