diff options
author | ahendrickson@chromium.org <ahendrickson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-05 06:46:26 +0000 |
---|---|---|
committer | ahendrickson@chromium.org <ahendrickson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-05 06:46:26 +0000 |
commit | ac5e81005177ac0118b6f289f91e7919a642bc29 (patch) | |
tree | 3a08199af7aff8be0c27eaef04ae52c29a88024c /content/browser/download/download_file_impl.cc | |
parent | ef5672efb64bbfa3e942a43ef9784f580313b062 (diff) | |
download | chromium_src-ac5e81005177ac0118b6f289f91e7919a642bc29.zip chromium_src-ac5e81005177ac0118b6f289f91e7919a642bc29.tar.gz chromium_src-ac5e81005177ac0118b6f289f91e7919a642bc29.tar.bz2 |
Added net logging to BaseFile.
This enables net logging for BaseFile if any customer of BaseFile choose to take advantage of it -- none yet do.
This is the second of 4 CLs that will enable net logging for downloads.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/9223019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120510 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/download/download_file_impl.cc')
-rw-r--r-- | content/browser/download/download_file_impl.cc | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/content/browser/download/download_file_impl.cc b/content/browser/download/download_file_impl.cc index 8c4155df..40ba759 100644 --- a/content/browser/download/download_file_impl.cc +++ b/content/browser/download/download_file_impl.cc @@ -20,16 +20,17 @@ DownloadFileImpl::DownloadFileImpl( DownloadRequestHandleInterface* request_handle, DownloadManager* download_manager, bool calculate_hash) - : file_(info->save_info.file_path, - info->url(), - info->referrer_url, - info->received_bytes, - calculate_hash, - info->save_info.hash_state, - info->save_info.file_stream), - id_(info->download_id), - request_handle_(request_handle), - download_manager_(download_manager) { + : file_(info->save_info.file_path, + info->url(), + info->referrer_url, + info->received_bytes, + calculate_hash, + info->save_info.hash_state, + info->save_info.file_stream, + net::BoundNetLog()), + id_(info->download_id), + request_handle_(request_handle), + download_manager_(download_manager) { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); } |