#include "chrome/test/payments/personal_data_manager_test_util.h"
#include "base/run_loop.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/autofill/personal_data_manager_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "components/autofill/core/browser/address_data_manager.h"
#include "components/autofill/core/browser/autofill_test_utils.h"
#include "components/autofill/core/browser/data_model/autofill_profile.h"
#include "components/autofill/core/browser/data_model/credit_card.h"
#include "components/autofill/core/browser/payments_data_manager.h"
#include "components/autofill/core/browser/payments_data_manager_test_api.h"
#include "components/autofill/core/browser/personal_data_manager.h"
#include "components/autofill/core/browser/personal_data_manager_observer.h"
#include "components/autofill/core/browser/personal_data_manager_test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace payments::test {
void AddAutofillProfile(content::BrowserContext* browser_context,
const autofill::AutofillProfile& autofill_profile) { … }
void AddCreditCard(content::BrowserContext* browser_context,
const autofill::CreditCard& card) { … }
}