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

Unified Diff: net/base/proxy_delegate.h

Issue 2110973002: Removing load_flags from ProxyService and ProxyDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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
« no previous file with comments | « jingle/glue/proxy_resolving_client_socket.cc ('k') | net/base/test_proxy_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/proxy_delegate.h
diff --git a/net/base/proxy_delegate.h b/net/base/proxy_delegate.h
index 3026a41bada6e9fdef410d3f53581e8521d268ab..ab6b2445f54bb3a4005a43b137e13110496ff5ee 100644
--- a/net/base/proxy_delegate.h
+++ b/net/base/proxy_delegate.h
@@ -31,21 +31,20 @@ class NET_EXPORT ProxyDelegate {
virtual ~ProxyDelegate() {
}
// Called as the proxy is being resolved for |url| for a |method| request.
// The caller may pass an empty string to get method agnostic resoulution.
// Allows the delegate to override the proxy resolution decision made by
// ProxyService. The delegate may override the decision by modifying the
// ProxyInfo |result|.
virtual void OnResolveProxy(const GURL& url,
const std::string& method,
- int load_flags,
const ProxyService& proxy_service,
ProxyInfo* result) = 0;
// Called when use of |bad_proxy| fails due to |net_error|. |net_error| is
// the network error encountered, if any, and OK if the fallback was
// for a reason other than a network error (e.g. the proxy service was
// explicitly directed to skip a proxy).
virtual void OnFallback(const ProxyServer& bad_proxy,
int net_error) = 0;
« no previous file with comments | « jingle/glue/proxy_resolving_client_socket.cc ('k') | net/base/test_proxy_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698