Introduce ServiceWorkerResourceReader mojo interface
This CL adds ServiceWorkerResourceReader which will be used by browser/embedders to read a service worker script from storage after ServiceWorkerStorage is migrated to the storage service. It is created via ServiceWorkerStorageControl::CreateResourceReader(). This CL only adds ReadResponseHead() method. Subsequent CLs will add methods to read the content of service worker script and metadata (V8 code cache). Following naming convention in content/browser/appcache/, service_worker_resource_writer_impl.{cc,h} are renamed to service_worker_resource_ops.{cc,h} Bug: 1055677 Change-Id: I7ae13a667ad733a1d8c3657f932f420d4f1be3fe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2132559Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:
Makoto Shimazu <shimazu@chromium.org> Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Cr-Commit-Position: refs/heads/master@{#756576}
Showing
Please register or sign in to comment