diff options
author | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-02 20:52:35 +0000 |
---|---|---|
committer | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-02 20:52:35 +0000 |
commit | 0d118595241314f3e4ad30af454a93e6bfdf46d3 (patch) | |
tree | 36e34b47e058717d615446002bc8434f76311906 /chrome/browser/renderer_host/download_resource_handler.cc | |
parent | a3a62191e80559303e48f648d9b8f260b0aad3a3 (diff) | |
download | chromium_src-0d118595241314f3e4ad30af454a93e6bfdf46d3.zip chromium_src-0d118595241314f3e4ad30af454a93e6bfdf46d3.tar.gz chromium_src-0d118595241314f3e4ad30af454a93e6bfdf46d3.tar.bz2 |
Record type of content being downloaded.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/7538007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95153 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/download_resource_handler.cc')
-rw-r--r-- | chrome/browser/renderer_host/download_resource_handler.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/renderer_host/download_resource_handler.cc b/chrome/browser/renderer_host/download_resource_handler.cc index f35d5e4..289d150 100644 --- a/chrome/browser/renderer_host/download_resource_handler.cc +++ b/chrome/browser/renderer_host/download_resource_handler.cc @@ -95,6 +95,7 @@ bool DownloadResourceHandler::OnResponseStarted(int request_id, global_id_.request_id); info->content_disposition = content_disposition_; info->mime_type = response->response_head.mime_type; + download_util::RecordDownloadMimeType(info->mime_type); // TODO(ahendrickson) -- Get the last modified time and etag, so we can // resume downloading. |