#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_DATA_MODEL_CREDIT_CARD_BENEFIT_TEST_API_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_DATA_MODEL_CREDIT_CARD_BENEFIT_TEST_API_H_
#include "base/memory/raw_ref.h"
#include "components/autofill/core/browser/data_model/credit_card_benefit.h"
#include "url/origin.h"
namespace autofill {
class CreditCardBenefitBaseTestApi { … };
class CreditCardCategoryBenefitTestApi : public CreditCardBenefitBaseTestApi { … };
class CreditCardMerchantBenefitTestApi : public CreditCardBenefitBaseTestApi { … };
inline CreditCardBenefitBaseTestApi test_api(CreditCardBenefit& benefit) { … }
inline CreditCardBenefitBaseTestApi test_api(CreditCardBenefitBase& benefit) { … }
inline CreditCardCategoryBenefitTestApi test_api(
CreditCardCategoryBenefit& category_benefit) { … }
inline CreditCardMerchantBenefitTestApi test_api(
CreditCardMerchantBenefit& merchant_benefit) { … }
}
#endif