#include "components/autofill/core/browser/autofill_experiments.h"
#include "base/functional/callback_helpers.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/scoped_feature_list.h"
#include "components/autofill/core/browser/logging/log_manager.h"
#include "components/autofill/core/browser/metrics/autofill_metrics.h"
#include "components/autofill/core/browser/metrics/payments/credit_card_save_metrics.h"
#include "components/autofill/core/common/autofill_features.h"
#include "components/autofill/core/common/autofill_payments_features.h"
#include "components/autofill/core/common/autofill_prefs.h"
#include "components/device_reauth/mock_device_authenticator.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/testing_pref_service.h"
#include "components/sync/base/features.h"
#include "components/sync/test/test_sync_service.h"
#include "google_apis/gaia/google_service_auth_error.h"
#include "testing/gtest/include/gtest/gtest.h"
MockDeviceAuthenticator;
Return;
namespace autofill {
class AutofillExperimentsTest : public testing::Test { … };
TEST_F(AutofillExperimentsTest, IsCardUploadEnabled_FeatureEnabled) { … }
TEST_F(AutofillExperimentsTest, IsCardUploadEnabled_UnsupportedCountry) { … }
TEST_F(AutofillExperimentsTest, IsCardUploadEnabled_SupportedCountry) { … }
TEST_F(AutofillExperimentsTest, IsCardUploadEnabled_AuthError) { … }
TEST_F(AutofillExperimentsTest,
IsCardUploadEnabled_SyncDoesNotHaveAutofillWalletDataActiveType) { … }
TEST_F(AutofillExperimentsTest, IsCardUploadEnabled_Syncing_AutofillSelected) { … }
TEST_F(AutofillExperimentsTest, IsCardUploadEnabled_Syncing_AutofillDisabled) { … }
TEST_F(AutofillExperimentsTest,
IsCardUploadEnabled_TransportWithAddresses_AutofillSelected) { … }
TEST_F(AutofillExperimentsTest,
IsCardUploadEnabled_TransportWithAddresses_AutofillDisabled) { … }
TEST_F(AutofillExperimentsTest,
IsCardUploadEnabled_TransportWithoutAddresses_AutofillSelected) { … }
TEST_F(AutofillExperimentsTest,
IsCardUploadEnabled_TransportWithoutAddresses_AutofillDisabled) { … }
TEST_F(AutofillExperimentsTest,
IsCardUploadEnabled_SyncServiceUsingExplicitPassphrase) { … }
TEST_F(AutofillExperimentsTest, IsCardUploadEnabled_PaymentsTypeNotSelected) { … }
TEST_F(AutofillExperimentsTest, IsCardUploadEnabled_TransportModeOnly) { … }
TEST_F(AutofillExperimentsTest, ShouldShowIbanOnSettingsPage_FeatureEnabled) { … }
TEST_F(
AutofillExperimentsTest,
IsDeviceAuthAvailable_FeatureEnabledAndAuthenticationAvailableForMacAndWin) { … }
}