-
Nidhi Jaju authored
The purpose of exposing this method is to remove GetAllOriginsInfo() call from //components/browsing_data. GetAllOriginsInfo() does not work well when there are many registrations (see [1] for details). //components/browsing_data only needs a list of origins that have service worker registrations (doesn't need storage usage). GetInstalledRegistrationOrigins() can be used to get these origins. ServiceWorkerContextWrapper implements GetInstalledRegistrationOrigins() without disk access and it's much faster than GetAllOriginsInfo(). [1] https://docs.google.com/document/d/1iaQGQzovFVL3LxDiyIvVgEUFWMhzrXpdf_6TmuwIICA Bug: 1099570 Change-Id: I9f206c7eb7de216b410d1e318309db61f60e5d21 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2278795Reviewed-by:
François Doray <fdoray@chromium.org> Reviewed-by:
Kenichi Ishibashi <bashi@chromium.org> Reviewed-by:
Matt Falkenhagen <falken@chromium.org> Commit-Queue: Nidhi Jaju <nidhijaju@google.com> Cr-Commit-Position: refs/heads/master@{#785245}
76be97d8