#include "base/test/scoped_feature_list.h"
#include "chrome/test/payments/payment_request_platform_browsertest_base.h"
#include "components/payments/core/features.h"
#include "content/public/test/browser_test.h"
namespace payments {
namespace {
enum EnforceFullDelegationFlag { … };
class PaymentHandlerEnforceFullDelegationTest
: public PaymentRequestPlatformBrowserTestBase,
public testing::WithParamInterface<EnforceFullDelegationFlag> { … };
IN_PROC_BROWSER_TEST_P(PaymentHandlerEnforceFullDelegationTest,
ShowPaymentSheetWhenOnlySomeAppsAreSkipped) { … }
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN)
#define MAYBE_WhenEnabled_ShowPaymentSheet_WhenDisabled_Reject …
#else
#define MAYBE_WhenEnabled_ShowPaymentSheet_WhenDisabled_Reject …
#endif
IN_PROC_BROWSER_TEST_P(PaymentHandlerEnforceFullDelegationTest,
MAYBE_WhenEnabled_ShowPaymentSheet_WhenDisabled_Reject) { … }
INSTANTIATE_TEST_SUITE_P(…);
}
}