DescriptionMake ServiceWorkerRegisterJob accumulate registration state.
Refactoring. ServiceWorkerRegisterJob used to squirrel the
ServiceWorkerRegistration it is handling in a field. It's simpler to
accumulate that state in callback arguments because it is clear when
the registration object exists.
BUG=359433
TEST=ServiceWorkerJobTest.*
Patch Set 1 #Patch Set 2 : Use raw pointers where lifetime is managed by Bind anyway. #Patch Set 3 : Bring to ToT plus issue 217163008. #
Messages
Total messages: 17 (0 generated)
|