Home | History | Annotate | Download | only in autofill

Lines Matching refs:iter

207   std::vector<const FormStructure*>::const_iterator iter;
212 for (iter = form_structures.begin(); iter != form_structures.end(); ++iter) {
213 const FormStructure* form = *iter;
329 for (std::vector<CreditCard*>::const_iterator iter = credit_cards_.begin();
330 iter != credit_cards_.end();
331 ++iter) {
332 if (local_imported_credit_card->IsSubsetOf(**iter)) {
375 for (std::vector<AutofillProfile*>::const_iterator iter =
377 iter != web_profiles_.end(); ++iter) {
378 if (!FindByGUID<AutofillProfile>(*profiles, (*iter)->guid()))
379 wds->RemoveAutofillProfile((*iter)->guid());
383 for (std::vector<AutofillProfile>::iterator iter = profiles->begin();
384 iter != profiles->end(); ++iter) {
385 if (FindByGUID<AutofillProfile>(web_profiles_, iter->guid()))
386 wds->UpdateAutofillProfile(*iter);
390 for (std::vector<AutofillProfile>::iterator iter = profiles->begin();
391 iter != profiles->end(); ++iter) {
392 if (!FindByGUID<AutofillProfile>(web_profiles_, iter->guid()) &&
393 !FindByContents(web_profiles_, *iter))
394 wds->AddAutofillProfile(*iter);
400 for (std::vector<AutofillProfile>::iterator iter = profiles->begin();
401 iter != profiles->end(); ++iter) {
402 web_profiles_.push_back(new AutofillProfile(*iter));
431 for (std::vector<CreditCard*>::const_iterator iter = credit_cards_.begin();
432 iter != credit_cards_.end(); ++iter) {
433 if (!FindByGUID<CreditCard>(*credit_cards, (*iter)->guid()))
434 wds->RemoveCreditCard((*iter)->guid());
438 for (std::vector<CreditCard>::iterator iter = credit_cards->begin();
439 iter != credit_cards->end(); ++iter) {
440 if (FindByGUID<CreditCard>(credit_cards_, iter->guid()))
441 wds->UpdateCreditCard(*iter);
445 for (std::vector<CreditCard>::iterator iter = credit_cards->begin();
446 iter != credit_cards->end(); ++iter) {
447 if (!FindByGUID<CreditCard>(credit_cards_, iter->guid()) &&
448 !FindByContents(credit_cards_, *iter))
449 wds->AddCreditCard(*iter);
454 for (std::vector<CreditCard>::iterator iter = credit_cards->begin();
455 iter != credit_cards->end(); ++iter) {
456 credit_cards_.push_back(new CreditCard(*iter));
470 for (std::vector<AutofillProfile*>::const_iterator iter =
472 iter != auxiliary_profiles_.end(); ++iter) {
473 if (profile.IsSubsetOf(**iter))
489 for (std::vector<AutofillProfile*>::iterator iter = web_profiles_->begin();
490 iter != web_profiles_->end(); ++iter) {
491 if ((*iter)->guid() == profile.guid()) {
492 delete *iter;
493 *iter = new AutofillProfile(profile);
524 for (std::vector<AutofillProfile*>::iterator iter = web_profiles_->begin();
525 iter != web_profiles_->end(); ++iter) {
526 if ((*iter)->guid() == guid)
527 return *iter;
550 for (std::vector<CreditCard*>::iterator iter = credit_cards_->begin();
551 iter != credit_cards_->end(); ++iter) {
552 if ((*iter)->guid() == credit_card.guid()) {
553 delete *iter;
554 *iter = new CreditCard(credit_card);
581 for (std::vector<CreditCard*>::iterator iter = credit_cards_.begin();
582 iter != credit_cards_.end(); ++iter) {
583 if ((*iter)->guid() == guid)
584 return *iter;
598 for (std::vector<AutofillProfile*>::const_iterator iter = profiles.begin();
599 iter != profiles.end(); ++iter) {
600 const FormGroup* profile = *iter;
609 for (ScopedVector<CreditCard>::iterator iter = credit_cards_.begin();
610 iter != credit_cards_.end(); ++iter) {
611 const FormGroup* credit_card = *iter;
734 for (std::vector<AutofillProfile*>::const_iterator iter =
736 iter != existing_profiles.end(); ++iter) {
738 if (profile.IsSubsetOf(**iter)) {
742 } else if ((*iter)->IntersectionOfTypesHasEqualValues(profile)) {
745 (*iter)->MergeWith(profile);
748 merged_profiles->push_back(**iter);
756 for (std::vector<AutofillProfile*>::const_iterator iter =
758 iter != existing_profiles.end(); ++iter) {
761 StringToLowerASCII((*iter)->PrimaryValue()) ==
764 (*iter)->OverwriteWithOrAddTo(profile);
767 merged_profiles->push_back(**iter);
832 for (std::vector<AutofillProfile*>::iterator iter = profiles.begin();
833 iter != profiles.end(); ++iter) {
834 web_profiles_.push_back(*iter);
852 for (std::vector<CreditCard*>::iterator iter = credit_cards.begin();
853 iter != credit_cards.end(); ++iter) {
854 credit_cards_.push_back(*iter);
897 for (std::vector<CreditCard*>::const_iterator iter = credit_cards_.begin();
898 iter != credit_cards_.end();
899 ++iter) {
900 if (imported_credit_card.IsSubsetOf(**iter)) {
905 } else if ((*iter)->IntersectionOfTypesHasEqualValues(
910 (*iter)->MergeWith(imported_credit_card);
912 (*iter)->number() == imported_credit_card.number()) {
914 (*iter)->OverwriteWith(imported_credit_card);
917 creditcards.push_back(**iter);