Home | History | Annotate | Download | only in service_worker

Lines Matching defs:registration

125 void WorkerStarted(const scoped_refptr<ServiceWorkerRegistration>& registration,
134 const scoped_refptr<ServiceWorkerRegistration>& registration) {
137 // Pass the reference of |registration| to WorkerStarted callback to prevent
139 // |registration| is 1, it will be deleted after WorkerStarted is called.
140 registration->active_version()->StartWorker(
141 base::Bind(WorkerStarted, registration, callback));
213 const ServiceWorkerRegistrationInfo& registration = *it;
215 registration_info->SetString("scope", registration.pattern.spec());
217 "registration_id", base::Int64ToString(registration.registration_id));
219 if (!registration.active_version.is_null) {
221 UpdateVersionInfo(registration.active_version, active_info);
225 if (!registration.waiting_version.is_null) {
227 UpdateVersionInfo(registration.waiting_version, waiting_info);