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. |