#include "base/test/metrics/histogram_tester.h"
#include "chrome/browser/ssl/cert_verifier_browser_test.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/network_session_configurator/common/network_switches.h"
#include "components/page_load_metrics/browser/page_load_metrics_test_waiter.h"
#include "components/ukm/test_ukm_recorder.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/signed_exchange_browser_test_helper.h"
#include "net/dns/mock_host_resolver.h"
#include "services/metrics/public/cpp/ukm_builders.h"
class SignedExchangePageLoadMetricsBrowserTest
: public CertVerifierBrowserTest { … };
IN_PROC_BROWSER_TEST_F(SignedExchangePageLoadMetricsBrowserTest,
UkmSignedExchangeMetric) { … }
IN_PROC_BROWSER_TEST_F(SignedExchangePageLoadMetricsBrowserTest,
UkmSignedExchangeFromAmpProjectCdn) { … }
IN_PROC_BROWSER_TEST_F(SignedExchangePageLoadMetricsBrowserTest,
UkmSignedExchangeFromWebPkgCache) { … }