Index: content/browser/download/download_file_impl.h |
diff --git a/content/browser/download/download_file_impl.h b/content/browser/download/download_file_impl.h |
index 98381128505efe5b447669cc9d784dd9542d991f..3103dd44e1c7e0d628144230cbe58cf1b2f7d7b8 100644 |
--- a/content/browser/download/download_file_impl.h |
+++ b/content/browser/download/download_file_impl.h |
@@ -10,6 +10,7 @@ |
#include <stddef.h> |
#include <stdint.h> |
+#include "base/files/file.h" |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
@@ -38,15 +39,15 @@ class CONTENT_EXPORT DownloadFileImpl : public DownloadFile { |
// Note that the DownloadFileImpl automatically reads from the passed in |
// stream, and sends updates and status of those reads to the |
// DownloadDestinationObserver. |
- DownloadFileImpl( |
- scoped_ptr<DownloadSaveInfo> save_info, |
- const base::FilePath& default_downloads_directory, |
- const GURL& url, |
- const GURL& referrer_url, |
- bool calculate_hash, |
- scoped_ptr<ByteStreamReader> stream, |
- const net::BoundNetLog& bound_net_log, |
- base::WeakPtr<DownloadDestinationObserver> observer); |
+ DownloadFileImpl(const 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); |
~DownloadFileImpl() override; |