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

Unified Diff: content/browser/download/download_file_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/download/download_file_impl.cc ('k') | content/browser/download/download_file_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_file_manager.h
diff --git a/content/browser/download/download_file_manager.h b/content/browser/download/download_file_manager.h
index 1a3054ef6344402ecda2db5ab8da88ce5d55bec9..b5f1654c4a74bf5323f64988d9fc932bb992fe76 100644
--- a/content/browser/download/download_file_manager.h
+++ b/content/browser/download/download_file_manager.h
@@ -66,6 +66,10 @@ class DownloadFile;
class DownloadManager;
}
+namespace net {
+class BoundNetLog;
+}
+
// Manages all in progress downloads.
class CONTENT_EXPORT DownloadFileManager
: public base::RefCountedThreadSafe<DownloadFileManager> {
@@ -78,7 +82,8 @@ class CONTENT_EXPORT DownloadFileManager
DownloadCreateInfo* info,
const DownloadRequestHandle& request_handle,
content::DownloadManager* download_manager,
- bool calculate_hash) = 0;
+ bool calculate_hash,
+ const net::BoundNetLog& bound_net_log) = 0;
};
// Takes ownership of the factory.
@@ -160,7 +165,8 @@ class CONTENT_EXPORT DownloadFileManager
void CreateDownloadFile(DownloadCreateInfo* info,
const DownloadRequestHandle& request_handle,
content::DownloadManager* download_manager,
- bool hash_needed);
+ bool hash_needed,
+ const net::BoundNetLog& bound_net_log);
// Called only on the download thread.
content::DownloadFile* GetDownloadFile(content::DownloadId global_id);
« no previous file with comments | « content/browser/download/download_file_impl.cc ('k') | content/browser/download/download_file_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698