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

Unified Diff: chrome/browser/renderer_host/download_resource_handler.cc

Issue 7112011: Change DownloadProcessHandle to be more of an encapsulated class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged to LKGR. Created 9 years, 6 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
« no previous file with comments | « chrome/browser/download/download_util.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/download_resource_handler.cc
diff --git a/chrome/browser/renderer_host/download_resource_handler.cc b/chrome/browser/renderer_host/download_resource_handler.cc
index b333bf4250a2d226f2eb026ba26df952184ca312..f35d5e4166ce7a127ce62a813137ecc2081b24e6 100644
--- a/chrome/browser/renderer_host/download_resource_handler.cc
+++ b/chrome/browser/renderer_host/download_resource_handler.cc
@@ -13,7 +13,7 @@
#include "chrome/browser/download/download_create_info.h"
#include "chrome/browser/download/download_item.h"
#include "chrome/browser/download/download_file_manager.h"
-#include "chrome/browser/download/download_process_handle.h"
+#include "chrome/browser/download/download_request_handle.h"
#include "chrome/browser/download/download_util.h"
#include "content/browser/browser_thread.h"
#include "content/browser/renderer_host/global_request_id.h"
@@ -89,7 +89,8 @@ bool DownloadResourceHandler::OnResponseStarted(int request_id,
info->state = DownloadItem::IN_PROGRESS;
info->download_id = download_id_;
info->has_user_gesture = request_info->has_user_gesture();
- info->process_handle = DownloadProcessHandle(global_id_.child_id,
+ info->request_handle = DownloadRequestHandle(rdh_,
+ global_id_.child_id,
render_view_id_,
global_id_.request_id);
info->content_disposition = content_disposition_;
« no previous file with comments | « chrome/browser/download/download_util.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698