Add more wrapper methods to ServiceWorkerRegistry
This is similar to crrev.com/c/2026776 but for following methods: * UpdateLastUpdateCheckTime() * UpdateNavigationPreloadEnabled() * UpdateNavigationPreloadHeader() The motivation behind this change is to move status type conversions (ServiceWorkerDatabase::Status -> blink::ServiceWorkerStatusCode) from ServiceWorkerStorage to ServiceWorkerRegistry. There are two reasons for this move: * ServiceWorkerStorage will be encapsulated in a mojo interface and wouldn't be able to use blink::ServiceWorkerStatusCode once it's moved to the storage service. * Consistency. Some methods in ServiceWorkerStorage use blink::ServiceWorkerStatusCode and others use ServiceWorkerDatabase::Status. It would be better to use a single status type. A follow-up CL will move the status type conversion. Bug: 1055677 Change-Id: I779fb16d4baceaf2a40ca7200fb28ab72e4334ac Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2071339 Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Reviewed-by:Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#744519}
Showing
Please register or sign in to comment