| Index: content/browser/download/download_file_impl.cc
|
| diff --git a/content/browser/download/download_file_impl.cc b/content/browser/download/download_file_impl.cc
|
| index 0efd0a2a36065c6f1a2f24285bda6d96c994a4a5..b94709c56f5a5a1db04668bbc348a0ca422939ee 100644
|
| --- a/content/browser/download/download_file_impl.cc
|
| +++ b/content/browser/download/download_file_impl.cc
|
| @@ -29,25 +29,26 @@ const int kMaxTimeBlockingFileThreadMs = 1000;
|
| int DownloadFile::number_active_objects_ = 0;
|
|
|
| DownloadFileImpl::DownloadFileImpl(
|
| - scoped_ptr<DownloadSaveInfo> save_info,
|
| + const DownloadSaveInfo& save_info,
|
| const base::FilePath& default_download_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,
|
| scoped_ptr<PowerSaveBlocker> power_save_blocker,
|
| base::WeakPtr<DownloadDestinationObserver> observer)
|
| - : file_(save_info->file_path,
|
| + : file_(save_info.file_path,
|
| url,
|
| referrer_url,
|
| - save_info->offset,
|
| + save_info.offset,
|
| calculate_hash,
|
| - save_info->hash_state,
|
| - save_info->file_stream.Pass(),
|
| + save_info.hash_state,
|
| + file_stream.Pass(),
|
| bound_net_log),
|
| default_download_directory_(default_download_directory),
|
| - stream_reader_(stream.Pass()),
|
| + stream_reader_(byte_stream.Pass()),
|
| bytes_seen_(0),
|
| bound_net_log_(bound_net_log),
|
| observer_(observer),
|
|
|