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

Unified Diff: net/proxy/proxy_service.cc

Issue 449973002: Use data reduction proxy when managed proxy config returns direct (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@no-uma-in-proxy-service
Patch Set: Addressed comment and nit Created 6 years, 4 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_service.cc
diff --git a/net/proxy/proxy_service.cc b/net/proxy/proxy_service.cc
index 400611063688fbf695daf1601a8ce8b278562728..6bd519cb51388eed5f33fb60bc7efed8bc374e90 100644
--- a/net/proxy/proxy_service.cc
+++ b/net/proxy/proxy_service.cc
@@ -1297,7 +1297,7 @@ int ProxyService::DidFinishResolvingProxy(const GURL& url,
// Allow the network delegate to interpose on the resolution decision,
// possibly modifying the ProxyInfo.
if (network_delegate)
- network_delegate->NotifyResolveProxy(url, load_flags, result);
+ network_delegate->NotifyResolveProxy(url, load_flags, *this, result);
// When logging all events is enabled, dump the proxy list.
if (net_log.IsLogging()) {
@@ -1324,7 +1324,7 @@ int ProxyService::DidFinishResolvingProxy(const GURL& url,
// Allow the network delegate to interpose on the resolution decision,
// possibly modifying the ProxyInfo.
if (network_delegate)
- network_delegate->NotifyResolveProxy(url, load_flags, result);
+ network_delegate->NotifyResolveProxy(url, load_flags, *this, result);
} else {
result_code = ERR_MANDATORY_PROXY_CONFIGURATION_FAILED;
}

Powered by Google App Engine
This is Rietveld 408576698