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

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: Addressed Randy's comments. 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.h
diff --git a/content/browser/download/download_manager_impl.h b/content/browser/download/download_manager_impl.h
index 7fda51b0d7f653ca4aec14c2c50f79bc415cf7f7..2b282e1556ffce2645e07cb411107926ea64b6da 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;
@@ -179,6 +180,8 @@ class CONTENT_EXPORT DownloadManagerImpl
// Called when Save Page As entry is committed to the persistent store.
void OnSavePageItemAddedToPersistentStore(int32 download_id, int64 db_handle);
+ virtual net::NetLog* GetNetLog();
+
// For unit tests only.
virtual void SetFileManager(DownloadFileManager* file_manager) OVERRIDE;
@@ -249,6 +252,8 @@ class CONTENT_EXPORT DownloadManagerImpl
// For debugging only.
int64 largest_db_handle_in_history_;
+ net::NetLog* net_log_;
+
DISALLOW_COPY_AND_ASSIGN(DownloadManagerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698