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

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 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/tab_contents/web_drag_source_mac.mm ('k') | content/shell/shell_browser_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/download_manager.h
diff --git a/content/public/browser/download_manager.h b/content/public/browser/download_manager.h
index 52a5437b9044c8a4a205f06702c475ef9aed3428..12d6fb02b4a121d7ebfae8f2aceca6c00b378279 100644
--- a/content/public/browser/download_manager.h
+++ b/content/public/browser/download_manager.h
@@ -40,6 +40,7 @@
#include "content/public/browser/download_id.h"
#include "content/public/browser/download_item.h"
#include "content/public/browser/browser_thread.h"
+#include "net/base/net_log.h"
#include "net/base/net_errors.h"
class DownloadFileManager;
@@ -64,7 +65,8 @@ class CONTENT_EXPORT DownloadManager
virtual ~DownloadManager() {}
static DownloadManager* Create(
- DownloadManagerDelegate* delegate);
+ DownloadManagerDelegate* delegate,
+ net::NetLog* net_log);
// Shutdown the download manager. Must be called before destruction.
virtual void Shutdown() = 0;
@@ -206,7 +208,8 @@ class CONTENT_EXPORT DownloadManager
virtual FilePath LastDownloadPath() = 0;
// Creates the download item. Must be called on the UI thread.
- virtual void CreateDownloadItem(
+ // Returns the |BoundNetLog| used by the |DownloadItem|.
+ virtual net::BoundNetLog CreateDownloadItem(
DownloadCreateInfo* info,
const DownloadRequestHandle& request_handle) = 0;
« no previous file with comments | « content/browser/tab_contents/web_drag_source_mac.mm ('k') | content/shell/shell_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698