diff options
author | rdsmith@chromium.org <rdsmith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-18 16:16:51 +0000 |
---|---|---|
committer | rdsmith@chromium.org <rdsmith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-18 16:16:51 +0000 |
commit | 2bddd20716a1216576e2c27ecbfa24ccf03e200b (patch) | |
tree | 4c090849a59155ea2b8bc6186e4197082b1ba026 /content/browser/download/download_file_impl.h | |
parent | 9fcf07fa6ffef170b0708b0f9ad0911e0e78dc22 (diff) | |
download | chromium_src-2bddd20716a1216576e2c27ecbfa24ccf03e200b.zip chromium_src-2bddd20716a1216576e2c27ecbfa24ccf03e200b.tar.gz chromium_src-2bddd20716a1216576e2c27ecbfa24ccf03e200b.tar.bz2 |
Simplifiy download initiation.
Now, instead of a three-way dance between DownloadResourceHandler,
DownloadFileManager, and DownloadManager, DownloadResourceHandler tells
DownloadManager to start the download, and it calls out (with return callback)
to DownloadFileManager to create the DownloadFile.
BUG=132832
TEST=Refactor; existing tests should continue to work.
R=benjhayden@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10544161
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142728 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/download/download_file_impl.h')
-rw-r--r-- | content/browser/download/download_file_impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/download/download_file_impl.h b/content/browser/download/download_file_impl.h index de88298..c00babd 100644 --- a/content/browser/download/download_file_impl.h +++ b/content/browser/download/download_file_impl.h @@ -33,7 +33,7 @@ class CONTENT_EXPORT DownloadFileImpl : virtual public content::DownloadFile { DownloadFileImpl(const DownloadCreateInfo* info, scoped_ptr<content::ByteStreamReader> stream, DownloadRequestHandleInterface* request_handle, - content::DownloadManager* download_manager, + scoped_refptr<content::DownloadManager> download_manager, bool calculate_hash, scoped_ptr<content::PowerSaveBlocker> power_save_blocker, const net::BoundNetLog& bound_net_log); |