Start using ServiceWorkerStorageControl
This CL starts using ServiceWorkerStorageControl in ServiceWorkerRegistry. For now, an instance of ServiceWorkerStorageControl is owned by ServiceWorkerRegistry as a drop-in replacement of ServiceWorkerStorage. Eventually the instance will live in the Storage Service once all ServiceWorkerStorage method calls are migrated into mojo methods. This CL only replaces UpdateLastUpdateCheckTime() call. Subsequent CLs will replace more ServiceWorkerStorage method calls. According to android-binary-size trybot, this increases the binary sizes by ~37kb. Most of the increase (~29kb) comes from mojo generated code and there isn't much we can do to reduce them. Introducing this mojo interface is necessary for migrating ServiceWorkerStroage to the storage service. See the design doc [1] for the motivation and plans. [1] https://docs.google.com/document/d/1hO0WEuoEOgEBlf5nDE3fDjuQY2bV_d5hLtk25iBo0LM/edit?usp=sharing Bug: 1055677 Binary-Size: Size increase is unavoidable (see above) Change-Id: Ic843e25f3556249b67252f52e9e16428ec488dfb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2214582 Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Reviewed-by:Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#771488}
Showing
Please register or sign in to comment