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

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

Issue 9121053: Added net logging to DownloadItem. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with parent 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_manager_impl.cc
diff --git a/content/browser/download/download_manager_impl.cc b/content/browser/download/download_manager_impl.cc
index aee4d141de499357827169825a9c19a7c2ac42bc..b0ca79d2ca28e0d950d7a59ee4a21ade172c0613 100644
--- a/content/browser/download/download_manager_impl.cc
+++ b/content/browser/download/download_manager_impl.cc
@@ -397,7 +397,7 @@ DownloadItem* DownloadManagerImpl::CreateSavePackageDownloadItem(
bool is_otr,
DownloadItem::Observer* observer) {
DownloadItem* download = new DownloadItemImpl(
- this, main_file_path, page_url, is_otr, GetNextId());
+ this, main_file_path, page_url, is_otr, GetNextId(), net::BoundNetLog());
download->AddObserver(observer);
@@ -901,7 +901,7 @@ void DownloadManagerImpl::OnPersistentStoreQueryComplete(
for (size_t i = 0; i < entries->size(); ++i) {
DownloadItem* download = new DownloadItemImpl(
- this, GetNextId(), entries->at(i));
+ this, GetNextId(), entries->at(i), net::BoundNetLog());
CHECK_96627(!ContainsKey(history_downloads_, download->GetDbHandle()));
downloads_.insert(download);
history_downloads_[download->GetDbHandle()] = download;

Powered by Google App Engine
This is Rietveld 408576698