#include "chrome/browser/page_load_metrics/observers/signed_exchange_page_load_metrics_observer.h"
#include <memory>
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/page_load_metrics/observers/page_load_metrics_observer_test_harness.h"
#include "components/page_load_metrics/browser/page_load_tracker.h"
#include "components/page_load_metrics/common/test/page_load_metrics_test_util.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/navigation_simulator.h"
namespace {
const char kDefaultTestUrl[] = …;
}
class SignedExchangePageLoadMetricsObserverTest
: public page_load_metrics::PageLoadMetricsObserverTestHarness { … };
TEST_F(SignedExchangePageLoadMetricsObserverTest, NoMetrics) { … }
TEST_F(SignedExchangePageLoadMetricsObserverTest, NoSignedExchange) { … }
TEST_F(SignedExchangePageLoadMetricsObserverTest, WithSignedExchange) { … }
TEST_F(SignedExchangePageLoadMetricsObserverTest, WithCachedSignedExchange) { … }
TEST_F(SignedExchangePageLoadMetricsObserverTest,
WithSignedExchangeBackground) { … }