Lines Matching defs:registration
257 RegistrationObjectMap::iterator registration =
259 if (registration == registrations_.end())
267 return registration->second;
380 WebServiceWorkerRegistrationImpl* registration = NULL;
382 registration = FindOrCreateRegistration(info, attrs);
384 callbacks->onSuccess(registration);
620 provider->second->registration()->info();
621 WebServiceWorkerRegistrationImpl* registration =
623 if (!registration) {
624 registration = CreateServiceWorkerRegistration(info, false);
627 registration->SetInstalling(GetServiceWorker(attrs.installing, false));
628 registration->SetWaiting(GetServiceWorker(attrs.waiting, false));
629 registration->SetActive(GetServiceWorker(attrs.active, false));
632 // Resolve the .ready promise with the registration object.
633 client->second->setReadyRegistration(registration);
704 WebServiceWorkerRegistrationImpl* registration) {
706 registrations_[registration_handle_id] = registration;
719 WebServiceWorkerRegistrationImpl* registration =
721 if (!registration) {
722 registration = CreateServiceWorkerRegistration(info, true);
723 registration->SetInstalling(GetServiceWorker(attrs.installing, true));
724 registration->SetWaiting(GetServiceWorker(attrs.waiting, true));
725 registration->SetActive(GetServiceWorker(attrs.active, true));
727 // |registration| must already have version attributes, so adopt and destroy
736 return registration;