From 7aa9682d0500b2f8e8db0f80c7d9e32d490e22ee Mon Sep 17 00:00:00 2001
From: "robliao@chromium.org"
 <robliao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Tue, 5 Aug 2014 22:03:06 +0000
Subject: Revert of Modify data_reduction_proxy_header to support tamper
 detection logic. (https://codereview.chromium.org/387353003/)

Reason for revert:
Causes DataReductionProxyHeadersTest.GetDataReductionProxyHeaderWithFingerprintRemoved to timeout on the bots.

TBR=bengr1@chromium.org, tonyg@chromium.org, bolian@chromium.org, yfriedman@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=381907

Original issue's description:
> 1. Adds action-parsing functionality for data reduction proxy header.
>
> 2. Adds a couple of functions to return different fingerprint value for tamper detection.
>
> 3. Adds a function to remove Chrome-Proxy header's fingerprint from its header values, and return the rest of header values.
>
> 4. Changes HasDataReductionProxyViaHeader to also tell
> whether data reduction proxy Via header occurs at the last
> or not.
>
>
> BUG=381907
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287561

Review URL: https://codereview.chromium.org/444723003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287608 0039d316-1c4b-4281-b951-d872f2087c98
---
 chrome/browser/android/intercept_download_resource_throttle.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'chrome/browser/android/intercept_download_resource_throttle.cc')

diff --git a/chrome/browser/android/intercept_download_resource_throttle.cc b/chrome/browser/android/intercept_download_resource_throttle.cc
index 721ed3d..1101b1e 100644
--- a/chrome/browser/android/intercept_download_resource_throttle.cc
+++ b/chrome/browser/android/intercept_download_resource_throttle.cc
@@ -62,7 +62,7 @@ void InterceptDownloadResourceThrottle::ProcessDownloadRequest() {
     if (headers.HasHeader(net::HttpRequestHeaders::kAuthorization) ||
         !(request_->response_info().headers &&
             data_reduction_proxy::HasDataReductionProxyViaHeader(
-                request_->response_info().headers, NULL))) {
+                request_->response_info().headers))) {
       return;
     }
 #else
-- 
cgit v1.1