service worker: Move DeleteAndStartOver unittests
Before this CL, DeleteAndStartOver related tests are defined in ServiceWorkerResourceStorageDiskTest class. The class depends on in-memory representation of ServiceWorkerRegistration, but these tests don't necessary depend on ServiceWorkerRegistration. This CL (re)introduces ServiceWorkerStorageDiskTest class to host these tests. The class stores a service worker registration to perform DeleteAndStartOver related checks. This is a preparation to remove in-memory representations from service_worker_storage_unittest.cc Bug: 1016064 Change-Id: I53e094c97e761bf0fa6ea1efbda19edc3dd0daaa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2464516Reviewed-by:Hiroki Nakagawa <nhiroki@chromium.org> Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Cr-Commit-Position: refs/heads/master@{#816056}
Showing
Please register or sign in to comment