#include "components/payments/core/payment_request_metrics.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/values.h"
#include "components/payments/core/payment_prefs.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/testing_pref_service.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace payments {
TEST(PaymentRequestMetricsTest, RecordCanMakePaymentPrefMetrics_Enabled) { … }
TEST(PaymentRequestMetricsTest,
RecordCanMakePaymentPrefMetrics_DisabledByUser) { … }
TEST(PaymentRequestMetricsTest,
RecordCanMakePaymentPrefMetrics_DisabledByExtension) { … }
TEST(PaymentRequestMetricsTest,
RecordCanMakePaymentPrefMetrics_DisabledByCustodian) { … }
TEST(PaymentRequestMetricsTest,
RecordCanMakePaymentPrefMetrics_DisabledByManaged) { … }
TEST(PaymentRequestMetricsTest,
RecordCanMakePaymentPrefMetrics_DisabledByRecommended) { … }
}