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

Issue 2934953003: Add support for HTTP range requests in the AppCacheURLLoaderImpl class. (Closed)

Created:
3 years, 6 months ago by ananta
Modified:
3 years, 6 months ago
Reviewers:
michaeln, jam
CC:
chromium-reviews, michaeln, darin-cc_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for HTTP range requests in the AppCacheURLLoaderImpl class. The functions in the AppCacheURLRequest class which parsed the HTTP header to initialize the range information and setup the range response on receiving an AppCache response have been moved to the AppCacheJob base class. The member variables to track the AppCache response, the range response and the input range requests have also been moved to the base class. Functions moved/added to the AppCacheJob base class are: 1. InitializeRangeRequestInfo(): Initializes the input range request info. 2. SetupRangeResponse : Sets up the range response information. BUG=715632 Review-Url: https://codereview.chromium.org/2934953003 Cr-Commit-Position: refs/heads/master@{#479602} Committed: https://chromium.googlesource.com/chromium/src/+/4c0cb6be7d1846be9fc4c2d6fb2642ead6a3bb1d

Patch Set 1 #

Patch Set 2 : Set the correct content length in the outgoing response in the AppCacheURLLoaderJob #

Patch Set 3 : Remove include #

Total comments: 4

Patch Set 4 : Move AppCacheResponseReader to AppCacheJob base. #

Patch Set 5 : Fix compile failures #

Patch Set 6 : Fix SetupRangeResponse definition #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -58 lines) Patch
M content/browser/appcache/appcache_job.h View 1 2 3 4 4 chunks +21 lines, -0 lines 0 comments Download
M content/browser/appcache/appcache_job.cc View 1 2 3 4 5 2 chunks +44 lines, -1 line 0 comments Download
M content/browser/appcache/appcache_url_loader_job.h View 1 2 3 1 chunk +0 lines, -6 lines 0 comments Download
M content/browser/appcache/appcache_url_loader_job.cc View 1 2 3 4 chunks +14 lines, -5 lines 0 comments Download
M content/browser/appcache/appcache_url_request_job.h View 1 2 3 3 chunks +0 lines, -8 lines 0 comments Download
M content/browser/appcache/appcache_url_request_job.cc View 1 2 3 3 chunks +1 line, -38 lines 0 comments Download

Messages

Total messages: 25 (15 generated)
ananta
3 years, 6 months ago (2017-06-13 03:52:47 UTC) #2
jam
this looks fine to me, i'll defer to michaeln for final review as he's owner ...
3 years, 6 months ago (2017-06-13 17:54:28 UTC) #7
michaeln
lgtm! https://codereview.chromium.org/2934953003/diff/40001/content/browser/appcache/appcache_job.h File content/browser/appcache/appcache_job.h (right): https://codereview.chromium.org/2934953003/diff/40001/content/browser/appcache/appcache_job.h#newcode138 content/browser/appcache/appcache_job.h:138: net::HttpByteRange range_requested_; nit: keep the two range related ...
3 years, 6 months ago (2017-06-14 02:37:25 UTC) #8
ananta
https://codereview.chromium.org/2934953003/diff/40001/content/browser/appcache/appcache_job.h File content/browser/appcache/appcache_job.h (right): https://codereview.chromium.org/2934953003/diff/40001/content/browser/appcache/appcache_job.h#newcode138 content/browser/appcache/appcache_job.h:138: net::HttpByteRange range_requested_; On 2017/06/14 02:37:24, michaeln wrote: > nit: ...
3 years, 6 months ago (2017-06-14 18:52:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2934953003/60001
3 years, 6 months ago (2017-06-14 18:53:07 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/477272)
3 years, 6 months ago (2017-06-14 19:01:50 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2934953003/80001
3 years, 6 months ago (2017-06-15 02:28:19 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/392587) linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 6 months ago (2017-06-15 02:35:26 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2934953003/100001
3 years, 6 months ago (2017-06-15 02:59:09 UTC) #22
commit-bot: I haz the power
3 years, 6 months ago (2017-06-15 04:28:02 UTC) #25
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/4c0cb6be7d1846be9fc4c2d6fb26...

Powered by Google App Engine
This is Rietveld 408576698