Lines Matching refs:AutofillProfile
96 bool IsMinimumAddress(const AutofillProfile& profile) { in IsMinimumAddress()
141 std::vector<AutofillProfile*> profile_pointers(web_profiles_.size()); in OnWebDataServiceRequestDone()
144 AutofillProfile::AdjustInferredLabels(&profile_pointers); in OnWebDataServiceRequestDone()
201 scoped_ptr<AutofillProfile> imported_profile(new AutoFillProfile); in ImportFormData()
349 void PersonalDataManager::SetProfiles(std::vector<AutofillProfile>* profiles) { in SetProfiles()
356 std::mem_fun_ref(&AutofillProfile::IsEmpty)), in SetProfiles()
364 std::vector<AutofillProfile*> profile_pointers(profiles->size()); in SetProfiles()
366 address_of<AutofillProfile>); in SetProfiles()
367 AutofillProfile::AdjustInferredLabels(&profile_pointers); in SetProfiles()
375 for (std::vector<AutofillProfile*>::const_iterator iter = in SetProfiles()
378 if (!FindByGUID<AutofillProfile>(*profiles, (*iter)->guid())) in SetProfiles()
383 for (std::vector<AutofillProfile>::iterator iter = profiles->begin(); in SetProfiles()
385 if (FindByGUID<AutofillProfile>(web_profiles_, iter->guid())) in SetProfiles()
390 for (std::vector<AutofillProfile>::iterator iter = profiles->begin(); in SetProfiles()
392 if (!FindByGUID<AutofillProfile>(web_profiles_, iter->guid()) && in SetProfiles()
400 for (std::vector<AutofillProfile>::iterator iter = profiles->begin(); in SetProfiles()
402 web_profiles_.push_back(new AutofillProfile(*iter)); in SetProfiles()
467 void PersonalDataManager::AddProfile(const AutofillProfile& profile) { in AddProfile()
470 for (std::vector<AutofillProfile*>::const_iterator iter = in AddProfile()
477 std::vector<AutofillProfile> profiles; in AddProfile()
482 void PersonalDataManager::UpdateProfile(const AutofillProfile& profile) { in UpdateProfile()
489 for (std::vector<AutofillProfile*>::iterator iter = web_profiles_->begin(); in UpdateProfile()
493 *iter = new AutofillProfile(profile); in UpdateProfile()
499 AutofillProfile::AdjustInferredLabels(&web_profiles_.get()); in UpdateProfile()
508 std::vector<AutofillProfile> profiles(web_profiles_.size()); in RemoveProfile()
511 DereferenceFunctor<AutofillProfile>()); in RemoveProfile()
516 FormGroupMatchesByGUIDFunctor<AutofillProfile>(guid)), in RemoveProfile()
522 AutofillProfile* PersonalDataManager::GetProfileByGUID( in GetProfileByGUID()
524 for (std::vector<AutofillProfile*>::iterator iter = web_profiles_->begin(); in GetProfileByGUID()
597 const std::vector<AutofillProfile*>& profiles = this->profiles(); in GetPossibleFieldTypes()
598 for (std::vector<AutofillProfile*>::const_iterator iter = profiles.begin(); in GetPossibleFieldTypes()
632 const std::vector<AutofillProfile*>& PersonalDataManager::profiles() { in profiles()
658 const std::vector<AutofillProfile*>& PersonalDataManager::web_profiles() { in web_profiles()
698 const AutofillProfile& profile) { in IsValidLearnableProfile()
723 const AutofillProfile& profile, in MergeProfile()
724 const std::vector<AutofillProfile*>& existing_profiles, in MergeProfile()
725 std::vector<AutofillProfile>* merged_profiles) { in MergeProfile()
734 for (std::vector<AutofillProfile*>::const_iterator iter = in MergeProfile()
756 for (std::vector<AutofillProfile*>::const_iterator iter = in MergeProfile()
828 const WDResult<std::vector<AutofillProfile*> >* r = in ReceiveLoadedProfiles()
829 static_cast<const WDResult<std::vector<AutofillProfile*> >*>(result); in ReceiveLoadedProfiles()
831 std::vector<AutofillProfile*> profiles = r->GetValue(); in ReceiveLoadedProfiles()
832 for (std::vector<AutofillProfile*>::iterator iter = profiles.begin(); in ReceiveLoadedProfiles()
875 const AutofillProfile& imported_profile) { in SaveImportedProfile()