#include "base/test/metrics/histogram_tester.h"
#include "chrome/test/payments/payment_request_platform_browsertest_base.h"
#include "components/payments/core/journey_logger.h"
#include "components/ukm/test_ukm_recorder.h"
#include "content/public/test/browser_test.h"
#include "services/metrics/public/cpp/ukm_builders.h"
namespace payments {
namespace {
Event2;
}
class JourneyLoggerTest : public PaymentRequestPlatformBrowserTestBase { … };
IN_PROC_BROWSER_TEST_F(JourneyLoggerTest, NoPaymentMethodSupported) { … }
IN_PROC_BROWSER_TEST_F(JourneyLoggerTest,
NoPaymentMethodSupportedWithShipping) { … }
IN_PROC_BROWSER_TEST_F(JourneyLoggerTest, GooglePaymentApp) { … }
IN_PROC_BROWSER_TEST_F(JourneyLoggerTest,
UKMCheckoutEventsRecordedForAppOrigin) { … }
IN_PROC_BROWSER_TEST_F(
JourneyLoggerTest,
UKMCheckoutEventsNotRecordedForAppOriginWhenNoWindowShown) { … }
IN_PROC_BROWSER_TEST_F(
JourneyLoggerTest,
UKMCheckoutEventsNotRecordedForAppOriginWhenNoAppInvoked) { … }
}