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

Unified Diff: net/base/proxy_delegate.h

Issue 1684123004: Bypass the DataReductionProxy for all POST requests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resubmitting with upstream branch set to branch from issue 1680893002 Created 4 years, 10 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/proxy_delegate.h
diff --git a/net/base/proxy_delegate.h b/net/base/proxy_delegate.h
index 8ff6a7e999c21da42ffef7b417714128206cd662..5f9b546cb5020dbf44e76575951943ffc6fa1301 100644
--- a/net/base/proxy_delegate.h
+++ b/net/base/proxy_delegate.h
@@ -28,20 +28,21 @@ class NET_EXPORT ProxyDelegate {
virtual ~ProxyDelegate() {
}
// Called as the proxy is being resolved for |url|. 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,
int load_flags,
const ProxyService& proxy_service,
+ const std::string& method,
bengr 2016/02/16 20:00:13 Move the method to just after the url.
RyanSturm 2016/02/17 21:46:11 Done.
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;
// Called after a proxy connection. Allows the delegate to read/write

Powered by Google App Engine
This is Rietveld 408576698