Lines Matching defs:registration
404 RegistrationData registration;
405 status = ParseRegistrationData(itr->value().ToString(), ®istration);
411 registrations->push_back(registration);
441 RegistrationData registration;
442 status = ParseRegistrationData(itr->value().ToString(), ®istration);
448 registrations->push_back(registration);
458 RegistrationData* registration,
461 DCHECK(registration);
477 *registration = value;
482 const RegistrationData& registration,
493 BumpNextRegistrationIdIfNeeded(registration.registration_id, &batch);
494 BumpNextVersionIdIfNeeded(registration.version_id, &batch);
496 PutUniqueOriginToBatch(registration.scope.GetOrigin(), &batch);
497 PutRegistrationDataToBatch(registration, &batch);
511 PutResourceRecordToBatch(*itr, registration.version_id, &batch);
523 status = ReadRegistrationData(registration.registration_id,
524 registration.scope.GetOrigin(),
529 DCHECK_LT(old_registration.version_id, registration.version_id);
538 // |registration| and |old_registration|.
560 RegistrationData registration;
561 status = ReadRegistrationData(registration_id, origin, ®istration);
565 registration.is_active = true;
568 PutRegistrationDataToBatch(registration, &batch);
585 RegistrationData registration;
586 status = ReadRegistrationData(registration_id, origin, ®istration);
590 registration.last_update_check = time;
593 PutRegistrationDataToBatch(registration, &batch);
614 // Remove |origin| from unique origins if a registration specified by
627 // Delete a registration specified by |registration_id|.
630 // Delete resource records associated with the registration.
818 RegistrationData* registration) {
819 DCHECK(registration);
832 status = ParseRegistrationData(value, registration);