DescriptionAdd 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 #
Messages
Total messages: 25 (15 generated)
|