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

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

Issue 9296012: Hooked up NetLog to DownloadItem, DownloadFile, and FileStream. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with trunk Created 8 years, 10 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
« no previous file with comments | « content/browser/download/download_item_impl.cc ('k') | content/browser/download/download_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_manager_impl.h
diff --git a/content/browser/download/download_manager_impl.h b/content/browser/download/download_manager_impl.h
index ce28cc8eb14924dc17f5490073c5e8821079c138..0e6cd009fcb7af7f195a0a804a78e8f5ea155b98 100644
--- a/content/browser/download/download_manager_impl.h
+++ b/content/browser/download/download_manager_impl.h
@@ -25,7 +25,8 @@ class CONTENT_EXPORT DownloadManagerImpl
: public content::DownloadManager,
public DownloadItemImpl::Delegate {
public:
- DownloadManagerImpl(content::DownloadManagerDelegate* delegate);
+ DownloadManagerImpl(content::DownloadManagerDelegate* delegate,
+ net::NetLog* net_log);
// content::DownloadManager functions.
virtual void Shutdown() OVERRIDE;
@@ -71,7 +72,7 @@ class CONTENT_EXPORT DownloadManagerImpl
virtual int InProgressCount() const OVERRIDE;
virtual content::BrowserContext* GetBrowserContext() const OVERRIDE;
virtual FilePath LastDownloadPath() OVERRIDE;
- virtual void CreateDownloadItem(
+ virtual net::BoundNetLog CreateDownloadItem(
DownloadCreateInfo* info,
const DownloadRequestHandle& request_handle) OVERRIDE;
virtual content::DownloadItem* CreateSavePackageDownloadItem(
@@ -250,6 +251,8 @@ class CONTENT_EXPORT DownloadManagerImpl
// For debugging only.
int64 largest_db_handle_in_history_;
+ net::NetLog* net_log_;
+
DISALLOW_COPY_AND_ASSIGN(DownloadManagerImpl);
};
« no previous file with comments | « content/browser/download/download_item_impl.cc ('k') | content/browser/download/download_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698