summaryrefslogtreecommitdiffstats
path: root/content/browser/download/download_request_handle.cc
diff options
context:
space:
mode:
authorasanka <asanka@chromium.org>2015-12-21 13:28:49 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-21 21:29:29 +0000
commit64114156487081d877b793d3a501a8658743141d (patch)
treefa5ecf61c7ef8e848a238040576537ad062fe7e1 /content/browser/download/download_request_handle.cc
parent5caf646e7e6638f9207f61e659492530dd0686e3 (diff)
downloadchromium_src-64114156487081d877b793d3a501a8658743141d.zip
chromium_src-64114156487081d877b793d3a501a8658743141d.tar.gz
chromium_src-64114156487081d877b793d3a501a8658743141d.tar.bz2
[Downloads] Factor out request handling logic between DRH and UD.
DownloadResourceHandler and UrlDownloader both have a lot in common since they are both responsible for driving a URL request. The only difference being that DRH is written to be a part of the ResourceLoader stack, while UrlDownloader drives a URLRequest on its own. This CL factors out the common bits in both so that upcoming fixes to downloads resumption can be made and tested in one location. R=svaldez@chromium.org BUG=7648 BUG=225901 Review URL: https://codereview.chromium.org/1533583002 Cr-Commit-Position: refs/heads/master@{#366459}
Diffstat (limited to 'content/browser/download/download_request_handle.cc')
-rw-r--r--content/browser/download/download_request_handle.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/content/browser/download/download_request_handle.cc b/content/browser/download/download_request_handle.cc
index 75f9d54..67dda4f 100644
--- a/content/browser/download/download_request_handle.cc
+++ b/content/browser/download/download_request_handle.cc
@@ -16,8 +16,9 @@
namespace content {
-DownloadRequestHandle::~DownloadRequestHandle() {
-}
+DownloadRequestHandleInterface::~DownloadRequestHandleInterface() {}
+
+DownloadRequestHandle::~DownloadRequestHandle() {}
DownloadRequestHandle::DownloadRequestHandle()
: child_id_(-1),