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

Unified Diff: content/public/browser/download_manager.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 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/public/browser/download_manager.h
diff --git a/content/public/browser/download_manager.h b/content/public/browser/download_manager.h
index a4bc3c852473a30632bfbcb79bb729573c2bbb51..adb59a9ca0d3cb60ead6ae1fd4a6a6d4d24d5850 100644
--- a/content/public/browser/download_manager.h
+++ b/content/public/browser/download_manager.h
@@ -52,6 +52,10 @@ struct DownloadCreateInfo;
struct DownloadRetrieveInfo;
struct DownloadSaveInfo;
+namespace net {
+class NetLog;
+} // namespace net
+
namespace content {
class BrowserContext;
class DownloadManagerDelegate;
@@ -66,7 +70,8 @@ class CONTENT_EXPORT DownloadManager
static DownloadManager* Create(
DownloadManagerDelegate* delegate,
- DownloadStatusUpdater* status_updater);
+ DownloadStatusUpdater* status_updater,
+ net::NetLog* net_log);
// Shutdown the download manager. Must be called before destruction.
virtual void Shutdown() = 0;
@@ -252,6 +257,9 @@ class CONTENT_EXPORT DownloadManager
virtual void SetDownloadManagerDelegate(
content::DownloadManagerDelegate* delegate) = 0;
+ // Get the system net log object.
+ virtual net::NetLog* GetNetLog() = 0;
+
protected:
// These functions are here for unit tests.

Powered by Google App Engine
This is Rietveld 408576698