Lines Matching defs:registration
79 ServiceWorkerRegistration* ServiceWorkerRegistration::from(ExecutionContext* executionContext, WebType* registration)
81 if (!registration)
83 return getOrCreate(executionContext, registration);
86 ServiceWorkerRegistration* ServiceWorkerRegistration::take(ScriptPromiseResolver* resolver, WebType* registration)
88 return from(resolver->scriptState()->executionContext(), registration);
91 void ServiceWorkerRegistration::dispose(WebType* registration)
93 delete registration;
137 ServiceWorkerRegistration* registration = adoptRefCountedGarbageCollectedWillBeNoop(new ServiceWorkerRegistration(executionContext, adoptPtr(outerRegistration)));
138 registration->suspendIfNeeded();
139 return registration;