Revert of Modify data_reduction_proxy_header to support tamper detection logic. ...
commit7aa9682d0500b2f8e8db0f80c7d9e32d490e22ee
authorrobliao@chromium.org <robliao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 5 Aug 2014 22:03:06 +0000 (5 22:03 +0000)
committerrobliao@chromium.org <robliao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 5 Aug 2014 22:03:06 +0000 (5 22:03 +0000)
tree56df5414d731f98248ad837f8b866c42fa6b4d29
parent32bfb2ace8cd4326f9833142939e49a359f62309
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
chrome/renderer/page_load_histograms.cc
components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc
components/data_reduction_proxy/common/data_reduction_proxy_headers.cc
components/data_reduction_proxy/common/data_reduction_proxy_headers.h
components/data_reduction_proxy/common/data_reduction_proxy_headers_unittest.cc