Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Unified Diff: content/browser/download/download_file_impl.cc

Issue 9223019: Added net logging to BaseFile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor cleanup Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/download/download_file_impl.cc
diff --git a/content/browser/download/download_file_impl.cc b/content/browser/download/download_file_impl.cc
index 774242b8a2f15f5bf313994523d81105c983aa77..43a34b82bd388f1cc3769479b3ca4521851f26ad 100644
--- a/content/browser/download/download_file_impl.cc
+++ b/content/browser/download/download_file_impl.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -19,16 +19,17 @@ DownloadFileImpl::DownloadFileImpl(
DownloadRequestHandleInterface* request_handle,
content::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));
}

Powered by Google App Engine
This is Rietveld 408576698