#include "components/autofill/core/browser/personal_data_manager.h"
#include "components/autofill/core/browser/address_data_manager.h"
#include "components/autofill/core/browser/crowdsourcing/autofill_crowdsourcing_manager.h"
#include "components/autofill/core/browser/manual_testing_import.h"
#include "components/autofill/core/browser/metrics/autofill_metrics.h"
#include "components/autofill/core/browser/metrics/autofill_settings_metrics.h"
#include "components/autofill/core/browser/payments_data_manager.h"
#include "components/autofill/core/browser/personal_data_manager_observer.h"
#include "components/autofill/core/common/autofill_prefs.h"
#include "components/history/core/browser/history_service.h"
#include "components/history/core/browser/history_types.h"
#include "components/prefs/pref_service.h"
#include "components/signin/public/identity_manager/identity_manager.h"
namespace autofill {
PersonalDataManager::PersonalDataManager(
scoped_refptr<AutofillWebDataService> profile_database,
scoped_refptr<AutofillWebDataService> account_database,
PrefService* pref_service,
PrefService* local_state,
signin::IdentityManager* identity_manager,
history::HistoryService* history_service,
syncer::SyncService* sync_service,
StrikeDatabaseBase* strike_database,
AutofillImageFetcherBase* image_fetcher,
std::unique_ptr<AutofillSharedStorageHandler> shared_storage_handler,
std::string app_locale,
std::string variations_country_code)
: … { … }
PersonalDataManager::~PersonalDataManager() = default;
void PersonalDataManager::Shutdown() { … }
void PersonalDataManager::OnAddressDataChanged() { … }
void PersonalDataManager::OnPaymentsDataChanged() { … }
void PersonalDataManager::OnHistoryDeletions(
history::HistoryService* ,
const history::DeletionInfo& deletion_info) { … }
void PersonalDataManager::AddObserver(PersonalDataManagerObserver* observer) { … }
void PersonalDataManager::RemoveObserver(
PersonalDataManagerObserver* observer) { … }
void PersonalDataManager::SetSyncServiceForTest(
syncer::SyncService* sync_service) { … }
void PersonalDataManager::RemoveByGUID(const std::string& guid) { … }
bool PersonalDataManager::IsDataLoaded() const { … }
void PersonalDataManager::Refresh() { … }
void PersonalDataManager::NotifyPersonalDataObserver() { … }
}