blob: a5bce8d24d98646356f929a2b4b85fe1c0358234 [file] [log] [blame]
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/payments/core/features.h"
#include "build/chromeos_buildflags.h"
namespace payments {
namespace features {
BASE_FEATURE(kWebPaymentsExperimentalFeatures,
"WebPaymentsExperimentalFeatures",
base::FEATURE_DISABLED_BY_DEFAULT);
// TODO(rouslan): Remove this.
BASE_FEATURE(kWebPaymentsSingleAppUiSkip,
"WebPaymentsSingleAppUiSkip",
base::FEATURE_ENABLED_BY_DEFAULT);
// TODO(rouslan): Remove this.
BASE_FEATURE(kWebPaymentsJustInTimePaymentApp,
"WebPaymentsJustInTimePaymentApp",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kAppStoreBilling,
"AppStoreBilling",
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS)
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
#endif
);
BASE_FEATURE(kAppStoreBillingDebug,
"AppStoreBillingDebug",
base::FEATURE_DISABLED_BY_DEFAULT);
BASE_FEATURE(kAllowJITInstallationWhenAppIconIsMissing,
"AllowJITInstallationWhenAppIconIsMissing",
base::FEATURE_DISABLED_BY_DEFAULT);
BASE_FEATURE(kEnforceFullDelegation,
"EnforceFullDelegation",
base::FEATURE_DISABLED_BY_DEFAULT);
BASE_FEATURE(kGPayAppDynamicUpdate,
"GPayAppDynamicUpdate",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kSecurePaymentConfirmationInlineNetworkAndIssuerIcons,
"SecurePaymentConfirmationInlineNetworkAndIssuerIcons",
base::FEATURE_DISABLED_BY_DEFAULT);
BASE_FEATURE(kSecurePaymentConfirmationUseCredentialStoreAPIs,
"SecurePaymentConfirmationUseCredentialStoreAPIs",
#if BUILDFLAG(IS_ANDROID)
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
#endif
);
#if !BUILDFLAG(IS_ANDROID)
BASE_FEATURE(kPaymentHandlerWindowInTaskManager,
"PaymentHandlerWindowInTaskManager",
base::FEATURE_ENABLED_BY_DEFAULT);
#endif
BASE_FEATURE(kPaymentHandlerAlwaysRefreshIcon,
"PaymentHandlerAlwaysRefreshIcon",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kPaymentHandlerRequireLinkHeader,
"PaymentHandlerRequireLinkHeader",
base::FEATURE_ENABLED_BY_DEFAULT);
} // namespace features
} // namespace payments