Lines Matching full:guid
40 explicit FormGroupMatchesByGUIDFunctor(const std::string& guid)
41 : guid_(guid) {
45 return form_group.guid() == guid_;
49 return form_group->guid() == guid_;
57 bool FindByGUID(const C& container, const std::string& guid) {
61 FormGroupMatchesByGUIDFunctor<T>(guid)) != container.end();
378 if (!FindByGUID<AutofillProfile>(*profiles, (*iter)->guid()))
379 wds->RemoveAutofillProfile((*iter)->guid());
385 if (FindByGUID<AutofillProfile>(web_profiles_, iter->guid()))
392 if (!FindByGUID<AutofillProfile>(web_profiles_, iter->guid()) &&
433 if (!FindByGUID<CreditCard>(*credit_cards, (*iter)->guid()))
434 wds->RemoveCreditCard((*iter)->guid());
440 if (FindByGUID<CreditCard>(credit_cards_, iter->guid()))
447 if (!FindByGUID<CreditCard>(credit_cards_, iter->guid()) &&
491 if ((*iter)->guid() == profile.guid()) {
506 void PersonalDataManager::RemoveProfile(const std::string& guid) {
513 // Remove the profile that matches |guid|.
516 FormGroupMatchesByGUIDFunctor<AutofillProfile>(guid)),
523 const std::string& guid) {
526 if ((*iter)->guid() == guid)
552 if ((*iter)->guid() == credit_card.guid()) {
564 void PersonalDataManager::RemoveCreditCard(const std::string& guid) {
571 // Remove the credit card that matches |guid|.
574 FormGroupMatchesByGUIDFunctor<CreditCard>(guid)),
580 CreditCard* PersonalDataManager::GetCreditCardByGUID(const std::string& guid) {
583 if ((*iter)->guid() == guid)