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

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

Issue 8770024: Added a download file factory to the download file manager, for testing. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merged with trunk Created 9 years 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.cc
diff --git a/content/browser/renderer_host/resource_dispatcher_host.cc b/content/browser/renderer_host/resource_dispatcher_host.cc
index ba8d686ffcdb30e3c1b70dfa83096b979a57b11a..0268e292e7cf162f3838ba5de25a13f6ea078c96 100644
--- a/content/browser/renderer_host/resource_dispatcher_host.cc
+++ b/content/browser/renderer_host/resource_dispatcher_host.cc
@@ -27,6 +27,7 @@
#include "content/browser/chrome_blob_storage_context.h"
#include "content/browser/cross_site_request_manager.h"
#include "content/browser/download/download_file_manager.h"
+#include "content/browser/download/download_file_impl.h"
Randy Smith (Not in Mondays) 2011/12/07 20:57:41 Why do we need this header inclusion?
ahendrickson 2011/12/07 21:11:17 We don't -- I forgot to remove it during a previou
ahendrickson 2011/12/07 22:06:58 (Removed)
#include "content/browser/download/download_id_factory.h"
#include "content/browser/download/download_manager.h"
#include "content/browser/download/download_resource_handler.h"
@@ -292,7 +293,7 @@ void OnSwapOutACKHelper(int render_process_id, int render_view_id) {
ResourceDispatcherHost::ResourceDispatcherHost(
const ResourceQueue::DelegateSet& resource_queue_delegates)
: ALLOW_THIS_IN_INITIALIZER_LIST(
- download_file_manager_(new DownloadFileManager(this))),
+ download_file_manager_(new DownloadFileManager(this, NULL))),
ALLOW_THIS_IN_INITIALIZER_LIST(
save_file_manager_(new SaveFileManager(this))),
request_id_(-1),

Powered by Google App Engine
This is Rietveld 408576698