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

Unified Diff: net/base/network_delegate.h

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/base/network_delegate.h
diff --git a/net/base/network_delegate.h b/net/base/network_delegate.h
index eafaca60bc4f3b5576c868321333aef759765f92..2a0c9f0a172cbef91e896c4d72c5e94ac9d6e416 100644
--- a/net/base/network_delegate.h
+++ b/net/base/network_delegate.h
@@ -37,6 +37,7 @@ class HttpRequestHeaders;
class HttpResponseHeaders;
class ProxyInfo;
class ProxyServer;
+class ProxyService;
class SocketStream;
class URLRequest;
@@ -62,7 +63,9 @@ class NET_EXPORT NetworkDelegate : public base::NonThreadSafe {
int NotifyBeforeURLRequest(URLRequest* request,
const CompletionCallback& callback,
GURL* new_url);
- void NotifyResolveProxy(const GURL& url, int load_flags,
+ void NotifyResolveProxy(const GURL& url,
+ int load_flags,
+ const ProxyService& proxy_service,
ProxyInfo* result);
void NotifyProxyFallback(const ProxyServer& bad_proxy,
int net_error,
@@ -132,6 +135,7 @@ class NET_EXPORT NetworkDelegate : public base::NonThreadSafe {
// may override the decision by modifying the ProxyInfo |result|.
Ryan Sleevi 2014/08/14 19:19:51 Please update this documentation to reflect how pr
virtual void OnResolveProxy(const GURL& url,
int load_flags,
+ const ProxyService& proxy_service,
ProxyInfo* result);
// Called when use of |bad_proxy| fails due to |net_error|. |did_fallback| is

Powered by Google App Engine
This is Rietveld 408576698