Remove ServiceWorkerUtils::ResourceResponseHeadAndMetadata
It was used only from DidReadInfo() in service_worker_disk_cache.cc to convert an HttpResponseInfo to URLResponseHead. Since service_worker_disk_cache.cc will be moved to the storage service it wouldn't be able to depend on content/. Move conversion logic to DidReadInfo() and remove ResourceResponseHeadAndMetadata. Bug: 1055677 Change-Id: I379fc52fcb41fb97f67045492cc8b4d743813398 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2309609Reviewed-by:Makoto Shimazu <shimazu@chromium.org> Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Cr-Commit-Position: refs/heads/master@{#790304}
Showing
Please register or sign in to comment