This source file includes following definitions.
- LoadAuxiliaryProfiles
#include "components/autofill/core/browser/android/auxiliary_profile_loader_android.h"
#include "components/autofill/core/browser/android/auxiliary_profiles_android.h"
#include "components/autofill/core/browser/personal_data_manager.h"
namespace autofill {
void PersonalDataManager::LoadAuxiliaryProfiles() const {
auxiliary_profiles_.clear();
autofill::AuxiliaryProfileLoaderAndroid profile_loader;
profile_loader.Init(
base::android::AttachCurrentThread(),
base::android::GetApplicationContext());
if (profile_loader.GetHasPermissions()) {
autofill::AuxiliaryProfilesAndroid impl(profile_loader, app_locale_);
auxiliary_profiles_.push_back(impl.LoadContactsProfile().release());
}
}
}