Move ServiceWorkerStorageOriginTrialsDiskTest.FromMainScript
This test depends on in-memory representations of service worker registrations and versions. Move the test from service_worker_storage_unittest.cc to service_worker_registry_unittest.cc so that the storage_unittest.cc can be moved to the Storage Service directory. This CL also modifies ServiceWorkerStorage::StoreRegistrationData so that it can LazyInitialize() when uninitialized. This allows the test to eliminate explicit LazyInitialize() call. Bug: 1055677 Change-Id: I2425d9aa964c37191df355f1c5c67ed250cb1f74 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2361382Reviewed-by:Hiroki Nakagawa <nhiroki@chromium.org> Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Cr-Commit-Position: refs/heads/master@{#799412}
Showing
Please register or sign in to comment