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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection.cc

Issue 2777823002: Bypass DRP if a redirect cycle is detected (Closed)
Patch Set: ryansturm comments Created 3 years, 9 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: components/data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection.cc
index c28f9e0fa551f71963f2b5a9365d65a7d131a852..f8483575138490dbcf80211e39110e20ca74968d 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_tamper_detection.cc
@@ -299,9 +299,8 @@ bool DataReductionProxyTamperDetection::ValidateViaHeader(
base::StringPiece fingerprint,
bool* has_chrome_proxy_via_header) const {
bool has_intermediary;
- *has_chrome_proxy_via_header = HasDataReductionProxyViaHeader(
- response_headers_,
- &has_intermediary);
+ *has_chrome_proxy_via_header =
+ HasDataReductionProxyViaHeader(*response_headers_, &has_intermediary);
if (*has_chrome_proxy_via_header)
return !has_intermediary;

Powered by Google App Engine
This is Rietveld 408576698