Add store/delete methods to ServiceWorkerStorageControl
This CL adds StoreRegistration() and DeleteRegistration() mojo methods which wrap corresponding ServiceWorkerStorage methods. ServiceWorkerStorage's methods return a deleted version and resource ids that can be purged after storing/deleting a registration. This CL doesn't expose these values as mojo return values. Purging resources should be done only when no browser/embedders use them. The storage service will manage purging resources but the mechanism hasn't been implemented yet. Bug: 1055677 Change-Id: I1bcd8bad4172a3c759e89692f8d7948da33219b5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2126432 Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Reviewed-by:Makoto Shimazu <shimazu@chromium.org> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Cr-Commit-Position: refs/heads/master@{#754853}
Showing
Please register or sign in to comment