[Downloads] Cleanup DownloadResourceHandler
commit9e997d126ed5aea804efd253d5e424e8ddacb53d
authorasanka@chromium.org <asanka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 22 Nov 2013 21:11:28 +0000 (22 21:11 +0000)
committerasanka@chromium.org <asanka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 22 Nov 2013 21:11:28 +0000 (22 21:11 +0000)
treea4af36fc8db0c96b3fd08ee1ee2126effcb39c11
parent6dd7836b204f3aa720161c002252f0f42f5cc41d
[Downloads] Cleanup DownloadResourceHandler

* Avoid duplicate assignments.
* Don't calculate whether strong validators are present in an HTTP
  response. A spec compliant implementation of this determination is
  already present elsewhere.

BUG=7648

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236825 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/download/download_create_info.cc
content/browser/download/download_create_info.h
content/browser/download/download_resource_handler.cc
content/browser/download/download_resource_handler.h
content/browser/download/download_stats.cc
content/browser/download/download_stats.h
tools/metrics/histograms/histograms.xml