Cleanup: have common HttpResponseHeaders routine to update with range
commit3d47dac962de7dd8ec9224d9c11a969259f3e0c7
authorkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 10 Mar 2014 07:28:58 +0000 (10 07:28 +0000)
committerkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 10 Mar 2014 07:28:58 +0000 (10 07:28 +0000)
treea5aeeb8b42e24bea2e14cb67adf68e25c9e0d857
parentdf157d9d2ef8720c6cdb54cf98634e84915eec9d
Cleanup: have common HttpResponseHeaders routine to update with range

Currently we do this header-fixup in two places: PartialData and AppCache,
and I'm planning to do the very same header-fixup in yet another module,
ServiceWorker.  I want to have a common utility in net/http/http_util
to do this so that all 3 modules can share it.

BUG=349319
TEST=HttpResponseHeadersTest.UpdateWithNewRange

Review URL: https://codereview.chromium.org/187583002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255905 0039d316-1c4b-4281-b951-d872f2087c98
net/http/http_response_headers.cc
net/http/http_response_headers.h
net/http/http_response_headers_unittest.cc
net/http/partial_data.cc
webkit/browser/appcache/appcache_url_request_job.cc