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

Unified Diff: chrome/browser/net/chrome_network_delegate.cc

Issue 686343002: Add MaybeInterceptRedirect/Response to URLRequestInterceptor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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: chrome/browser/net/chrome_network_delegate.cc
diff --git a/chrome/browser/net/chrome_network_delegate.cc b/chrome/browser/net/chrome_network_delegate.cc
index 515568b3d92bfcd6d33ceb5c6d30b4698e60e212..fe7b9974022cd7316474727802ca6d43c0626fab 100644
--- a/chrome/browser/net/chrome_network_delegate.cc
+++ b/chrome/browser/net/chrome_network_delegate.cc
@@ -497,18 +497,6 @@ int ChromeNetworkDelegate::OnHeadersReceived(
const net::HttpResponseHeaders* original_response_headers,
scoped_refptr<net::HttpResponseHeaders>* override_response_headers,
GURL* allowed_unsafe_redirect_url) {
- data_reduction_proxy::DataReductionProxyBypassType bypass_type;
- if (data_reduction_proxy::MaybeBypassProxyAndPrepareToRetry(
- data_reduction_proxy_params_,
- request,
- original_response_headers,
- override_response_headers,
- &bypass_type)) {
- if (data_reduction_proxy_usage_stats_)
- data_reduction_proxy_usage_stats_->SetBypassType(bypass_type);
- return net::OK;
- }
-
return extensions_delegate_->OnHeadersReceived(
request,
callback,

Powered by Google App Engine
This is Rietveld 408576698