Description[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
Committed: https://crrev.com/64114156487081d877b793d3a501a8658743141d
Cr-Commit-Position: refs/heads/master@{#366459}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : Tests and some more cleanup of unused headers. #Patch Set 4 : Why aren't there tests for sniffed MIME types? #
Total comments: 8
Patch Set 5 : Address comments and change .Pass() -> std::move(...) per PRESUBMIT check #Dependent Patchsets: Messages
Total messages: 11 (4 generated)
|