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..bd083bd76b09c4491c4db6b13901357b667d8871 100644 |
--- a/content/browser/download/download_file_factory.h |
+++ b/content/browser/download/download_file_factory.h |
@@ -5,6 +5,7 @@ |
#ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_FACTORY_H_ |
#define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_FACTORY_H_ |
+#include "base/files/file.h" |
#include "base/files/file_path.h" |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
@@ -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, |
+ base::File file, |
+ scoped_ptr<ByteStreamReader> byte_stream, |
const net::BoundNetLog& bound_net_log, |
base::WeakPtr<DownloadDestinationObserver> observer); |
}; |