Chromium Code Reviews| 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 |