Index: content/browser/download/download_file_factory.h |
diff --git a/content/browser/download/download_file_factory.h b/content/browser/download/download_file_factory.h |
index bd083bd76b09c4491c4db6b13901357b667d8871..d29384dde082a18decbae9bdeb9a75770eb03d33 100644 |
--- a/content/browser/download/download_file_factory.h |
+++ b/content/browser/download/download_file_factory.h |
@@ -13,6 +13,10 @@ |
#include "content/common/content_export.h" |
#include "url/gurl.h" |
+namespace crypto { |
+class SecureHash; |
+} |
+ |
namespace net { |
class BoundNetLog; |
} |
@@ -30,12 +34,8 @@ class CONTENT_EXPORT DownloadFileFactory { |
virtual ~DownloadFileFactory(); |
virtual DownloadFile* CreateFile( |
- const DownloadSaveInfo& save_info, |
+ scoped_ptr<DownloadSaveInfo> save_info, |
const base::FilePath& default_downloads_directory, |
- const GURL& url, |
- const GURL& referrer_url, |
- bool calculate_hash, |
- base::File file, |
scoped_ptr<ByteStreamReader> byte_stream, |
const net::BoundNetLog& bound_net_log, |
base::WeakPtr<DownloadDestinationObserver> observer); |