Lines Matching full:profiles
21 #include "chrome/browser/profiles/profile.h"
303 // Reject profiles with invalid country information.
340 // We always save imported profiles.
349 void PersonalDataManager::SetProfiles(std::vector<AutofillProfile>* profiles) {
353 // Remove empty profiles from input.
354 profiles->erase(
355 std::remove_if(profiles->begin(), profiles->end(),
357 profiles->end());
363 // identifies profiles.
364 std::vector<AutofillProfile*> profile_pointers(profiles->size());
365 std::transform(profiles->begin(), profiles->end(), profile_pointers.begin(),
373 // Any profiles that are not in the new profile list should be removed from
378 if (!FindByGUID<AutofillProfile>(*profiles, (*iter)->guid()))
382 // Update the web database with the existing profiles.
383 for (std::vector<AutofillProfile>::iterator iter = profiles->begin();
384 iter != profiles->end(); ++iter) {
389 // Add the new profiles to the web database. Don't add a duplicate.
390 for (std::vector<AutofillProfile>::iterator iter = profiles->begin();
391 iter != profiles->end(); ++iter) {
398 // Copy in the new profiles.
400 for (std::vector<AutofillProfile>::iterator iter = profiles->begin();
401 iter != profiles->end(); ++iter) {
477 std::vector<AutofillProfile> profiles;
478 MergeProfile(profile, web_profiles_.get(), &profiles);
479 SetProfiles(&profiles);
508 std::vector<AutofillProfile> profiles(web_profiles_.size());
510 profiles.begin(),
514 profiles.erase(
515 std::remove_if(profiles.begin(), profiles.end(),
517 profiles.end());
519 SetProfiles(&profiles);
597 const std::vector<AutofillProfile*>& profiles = this->profiles();
598 for (std::vector<AutofillProfile*>::const_iterator iter = profiles.begin();
599 iter != profiles.end(); ++iter) {
602 DLOG(ERROR) << "NULL information in profiles list";
632 const std::vector<AutofillProfile*>& PersonalDataManager::profiles() {
644 NOTREACHED() << "Auxiliary profiles supported on Mac only";
706 // Reject profiles with invalid US state information.
713 // Reject profiles with invalid US zip information.
740 // in |profile|, so consider the profiles already merged.
831 std::vector<AutofillProfile*> profiles = r->GetValue();
832 for (std::vector<AutofillProfile*>::iterator iter = profiles.begin();
833 iter != profiles.end(); ++iter) {