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 2600e3f845520b26fc83679450ddd726bd063f45..200bf278157d086c4b8bd43be03ce55729cf99ce 100644 |
--- a/content/browser/download/download_file_factory.h |
+++ b/content/browser/download/download_file_factory.h |
@@ -14,6 +14,7 @@ |
namespace net { |
class BoundNetLog; |
+class FileStream; |
} |
namespace content { |
@@ -29,12 +30,13 @@ class CONTENT_EXPORT DownloadFileFactory { |
virtual ~DownloadFileFactory(); |
virtual DownloadFile* CreateFile( |
- scoped_ptr<DownloadSaveInfo> save_info, |
+ const DownloadSaveInfo& save_info, |
const base::FilePath& default_downloads_directory, |
const GURL& url, |
const GURL& referrer_url, |
bool calculate_hash, |
- scoped_ptr<ByteStreamReader> stream, |
+ scoped_ptr<net::FileStream> file_stream, |
+ scoped_ptr<ByteStreamReader> byte_stream, |
const net::BoundNetLog& bound_net_log, |
base::WeakPtr<DownloadDestinationObserver> observer); |
}; |