Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Unified Diff: content/browser/renderer_host/resource_dispatcher_host_impl.cc

Issue 10392111: Use ByteStream in downloads system to decouple source and sink. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporated comments. Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/resource_dispatcher_host_impl.cc
diff --git a/content/browser/renderer_host/resource_dispatcher_host_impl.cc b/content/browser/renderer_host/resource_dispatcher_host_impl.cc
index aeb257368cec219484bfcc40fdd12b1277de5731..51bbfb6371ed796f9326315f0186ca453edbc3b2 100644
--- a/content/browser/renderer_host/resource_dispatcher_host_impl.cc
+++ b/content/browser/renderer_host/resource_dispatcher_host_impl.cc
@@ -573,7 +573,7 @@ ResourceDispatcherHostImpl::CreateResourceHandlerForDownload(
const DownloadResourceHandler::OnStartedCallback& started_cb) {
scoped_refptr<ResourceHandler> handler(
new DownloadResourceHandler(child_id, route_id, request_id,
- request->url(), download_file_manager_.get(),
+ request->url(), download_file_manager_,
request, started_cb, save_info));
if (delegate_) {
ScopedVector<ResourceThrottle> throttles;

Powered by Google App Engine
This is Rietveld 408576698